@retailrocketgroup/retailrocket-create.welcome-sequence-vue-email-template-render 5.0.384700 → 5.0.384767

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.
@@ -12,14 +12,14 @@ rendering chunks...
12
12
 
13
13
  [vite:dts] Start generate declaration files...
14
14
  computing gzip size...
15
- [vite:dts] Declaration files built in 5546ms.
15
+ [vite:dts] Declaration files built in 2909ms.
16
16
 
17
17
  dist/index.html 1.81 kB │ gzip: 0.72 kB
18
18
  dist/assets/index.css 129.42 kB │ gzip: 20.40 kB
19
- dist/assets/index.js 3,340.97 kB │ gzip: 939.62 kB │ map: 13,792.03 kB
19
+ dist/assets/index.js 3,340.94 kB │ gzip: 939.59 kB
20
20
 
21
21
  (!) Some chunks are larger than 500 kB after minification. Consider:
22
22
  - Using dynamic import() to code-split the application
23
23
  - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
24
24
  - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
25
- ✓ built in 18.96s
25
+ ✓ built in 8.12s
@@ -376,4 +376,3 @@ ${m.slice(u+2)}`,d+=1;else break}e.push({indent:u,number:parseInt(a,10),content:
376
376
  `},renderMarkdown:()=>`
377
377
  `,parseMarkdown:()=>({type:"hardBreak"}),addCommands(){return{setHardBreak:()=>({commands:t,chain:e,state:n,editor:o})=>t.first([()=>t.exitCode(),()=>t.command(()=>{const{selection:r,storedMarks:i}=n;if(r.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:a}=o.extensionManager,l=i||r.$to.parentOffset&&r.$from.marks();return e().insertContent({type:this.name}).command(({tr:u,dispatch:c})=>{if(c&&l&&s){const d=l.filter(h=>a.includes(h.type.name));u.ensureMarks(d)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}});var Tde={},xde={},Fde={},wde;function yO(){return wde||(wde=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.isNone=t.isSome=t.None=t.Some=t.OptionType=void 0,t.OptionType={Some:Symbol(":some"),None:Symbol(":none")};function e(s){return typeof s>"u"?o():n(s)}t.Some=e,t.None=o();function n(s){return{type:t.OptionType.Some,isSome(){return!0},isNone(){return!1},match(a){return a.some(s)},map(a){return n(a(s))},andThen(a){return a(s)},or(a){return this},and(a){return a},unwrapOr(a){return s},unwrap(){return s}}}function o(){return{type:t.OptionType.None,isSome(){return!1},isNone(){return!0},match(s){const{none:a}=s;return typeof a=="function"?a():a},map(s){return o()},andThen(s){return o()},or(s){return s},and(s){return o()},unwrapOr(s){if(s==null)throw new Error("Cannot call unwrapOr with a missing value.");return s},unwrap(){throw new ReferenceError("Trying to unwrap None.")}}}function r(s){return s.isSome()}t.isSome=r;function i(s){return s.isNone()}t.isNone=i})(Fde)),Fde}var Sde;function Inn(){return Sde||(Sde=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.isRight=t.isLeft=t.Right=t.Left=t.EitherType=void 0;const e=yO();t.EitherType={Left:Symbol(":left"),Right:Symbol(":right")};function n(s){return{type:t.EitherType.Left,isLeft(){return!0},isRight(){return!1},left(){return(0,e.Some)(s)},leftAndThen(a){return a(s)},right(){return e.None},rightAndThen(a){return n(s)},unwrap(){return s},unwrapLeft(){return s},unwrapLeftOr(a){return s},unwrapLeftOrElse(a){return s},unwrapRight(){throw new ReferenceError("Cannot unwrap Right value of Either.Left")},unwrapRightOr(a){return a},unwrapRightOrElse(a){return a(s)},match(a){return a.left(s)},map(a){return n(a(s))},mapLeft(a){return n(a(s))},mapRight(a){return n(s)}}}t.Left=n;function o(s){return{type:t.EitherType.Right,isLeft(){return!1},isRight(){return!0},left(){return e.None},leftAndThen(a){return o(s)},right(){return(0,e.Some)(s)},rightAndThen(a){return a(s)},unwrap(){return s},unwrapLeft(){throw new ReferenceError("Cannot unwrap Left value of Either.Right")},unwrapLeftOr(a){return a},unwrapLeftOrElse(a){return a(s)},unwrapRight(){return s},unwrapRightOr(a){return s},unwrapRightOrElse(a){return s},match(a){return a.right(s)},map(a){return o(a(s))},mapLeft(a){return o(s)},mapRight(a){return o(a(s))}}}t.Right=o;function r(s){return s.isLeft()}t.isLeft=r;function i(s){return s.isRight()}t.isRight=i})(xde)),xde}var kde={},Ede;function Pnn(){return Ede||(Ede=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.isErr=t.isOk=t.Err=t.Ok=t.ResultType=void 0;const e=yO();t.ResultType={Ok:Symbol(":ok"),Err:Symbol(":err")};function n(s){return{type:t.ResultType.Ok,isOk(){return!0},isErr(){return!1},ok(){return(0,e.Some)(s)},err(){return e.None},unwrap(){return s},unwrapOr(a){return s},unwrapOrElse(a){return s},unwrapErr(){throw new ReferenceError("Cannot unwrap Err value of Result.Ok")},match(a){return a.ok(s)},map(a){return n(a(s))},mapErr(a){return n(s)},andThen(a){return a(s)},orElse(a){return n(s)}}}t.Ok=n;function o(s){return{type:t.ResultType.Err,isOk(){return!1},isErr(){return!0},ok(){return e.None},err(){return(0,e.Some)(s)},unwrap(){throw new ReferenceError("Cannot unwrap Ok value of Result.Err")},unwrapOr(a){return a},unwrapOrElse(a){return a(s)},unwrapErr(){return s},match(a){return a.err(s)},map(a){return o(s)},mapErr(a){return o(a(s))},andThen(a){return o(s)},orElse(a){return a(s)}}}t.Err=o;function r(s){return s.isOk()}t.isOk=r;function i(s){return s.isErr()}t.isErr=i})(kde)),kde}var _de;function Wnn(){return _de||(_de=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Ok=t.isOk=t.isErr=t.Err=t.Some=t.None=t.isSome=t.isNone=t.Right=t.Left=t.isRight=t.isLeft=void 0;var e=Inn();Object.defineProperty(t,"isLeft",{enumerable:!0,get:function(){return e.isLeft}}),Object.defineProperty(t,"isRight",{enumerable:!0,get:function(){return e.isRight}}),Object.defineProperty(t,"Left",{enumerable:!0,get:function(){return e.Left}}),Object.defineProperty(t,"Right",{enumerable:!0,get:function(){return e.Right}});var n=yO();Object.defineProperty(t,"isNone",{enumerable:!0,get:function(){return n.isNone}}),Object.defineProperty(t,"isSome",{enumerable:!0,get:function(){return n.isSome}}),Object.defineProperty(t,"None",{enumerable:!0,get:function(){return n.None}}),Object.defineProperty(t,"Some",{enumerable:!0,get:function(){return n.Some}});var o=Pnn();Object.defineProperty(t,"Err",{enumerable:!0,get:function(){return o.Err}}),Object.defineProperty(t,"isErr",{enumerable:!0,get:function(){return o.isErr}}),Object.defineProperty(t,"isOk",{enumerable:!0,get:function(){return o.isOk}}),Object.defineProperty(t,"Ok",{enumerable:!0,get:function(){return o.Ok}})})(Tde)),Tde}Wnn();function iy(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(t==null||t==="")return;const n=Number(t);return isNaN(n)?String(t):isFinite(n)?`${n}${e}`:void 0}function Rde(t){let e;return t!==null&&typeof t=="object"&&((e=Object.getPrototypeOf(t))===Object.prototype||e===null)}function tH(t,e){return e.every(n=>t.hasOwnProperty(n))}function Hnn(t,e){const n={};for(const o of e)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}function znn(t){return t==null?[]:Array.isArray(t)?t:[t]}function Dde(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return t+n.repeat(Math.max(0,e-t.length))}function jnn(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let o=0;for(;o<t.length;)n.push(t.substr(o,e)),o+=e;return n}function F$e(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const o={};for(const r in t)o[r]=t[r];for(const r in e){const i=t[r],s=e[r];if(Rde(i)&&Rde(s)){o[r]=F$e(i,s,n);continue}if(n&&Array.isArray(i)&&Array.isArray(s)){o[r]=n(i,s);continue}o[r]=s}return o}function FF(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(FF.cache.has(t))return FF.cache.get(t);const e=t.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return FF.cache.set(t,e),e}FF.cache=new Map;function Unn(t){const e=Vt({});Lo(()=>{const o=t();for(const r in o)e[r]=o[r]},{flush:"sync"});const n={};for(const o in e)n[o]=Me(()=>e[o]);return n}const sy=2.4,Ade=.2126729,Nde=.7151522,Bde=.072175,Knn=.55,qnn=.58,Jnn=.57,Gnn=.62,J_=.03,Lde=1.45,Ynn=5e-4,Xnn=1.25,Qnn=1.25,$de=.078,Vde=12.82051282051282,G_=.06,Mde=.001;function Ode(t,e){const n=(t.r/255)**sy,o=(t.g/255)**sy,r=(t.b/255)**sy,i=(e.r/255)**sy,s=(e.g/255)**sy,a=(e.b/255)**sy;let l=n*Ade+o*Nde+r*Bde,u=i*Ade+s*Nde+a*Bde;if(l<=J_&&(l+=(J_-l)**Lde),u<=J_&&(u+=(J_-u)**Lde),Math.abs(u-l)<Ynn)return 0;let c;if(u>l){const d=(u**Knn-l**qnn)*Xnn;c=d<Mde?0:d<$de?d-d*Vde*G_:d-G_}else{const d=(u**Gnn-l**Jnn)*Qnn;c=d>-Mde?0:d>-$de?d-d*Vde*G_:d+G_}return c*100}function Nj(t){return!!t&&/^(#|var\(--|(rgb|hsl)a?\()/.test(t)}function Znn(t){return Nj(t)&&!/^((rgb|hsl)a?\()?var\(--/.test(t)}const Ide=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,eon={rgb:(t,e,n,o)=>({r:t,g:e,b:n,a:o}),rgba:(t,e,n,o)=>({r:t,g:e,b:n,a:o}),hsl:(t,e,n,o)=>Pde({h:t,s:e,l:n,a:o}),hsla:(t,e,n,o)=>Pde({h:t,s:e,l:n,a:o}),hsv:(t,e,n,o)=>nS({h:t,s:e,v:n,a:o}),hsva:(t,e,n,o)=>nS({h:t,s:e,v:n,a:o})};function zT(t){if(typeof t=="number")return{r:(t&16711680)>>16,g:(t&65280)>>8,b:t&255};if(typeof t=="string"&&Ide.test(t)){const{groups:e}=t.match(Ide),{fn:n,values:o}=e,r=o.split(/,\s*|\s*\/\s*|\s+/).map((i,s)=>i.endsWith("%")||s>0&&s<3&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(i)/100:parseFloat(i));return eon[n](...r)}else if(typeof t=="string"){let e=t.startsWith("#")?t.slice(1):t;return[3,4].includes(e.length)?e=e.split("").map(n=>n+n).join(""):[6,8].includes(e.length)||void 0,ton(e)}else if(typeof t=="object"){if(tH(t,["r","g","b"]))return t;if(tH(t,["h","s","l"]))return nS(w$e(t));if(tH(t,["h","s","v"]))return nS(t)}throw new TypeError(`Invalid color: ${t==null?t:String(t)||t.constructor.name}
378
378
  Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function nS(t){const{h:e,s:n,v:o,a:r}=t,i=a=>{const l=(a+e/60)%6;return o-o*n*Math.max(Math.min(l,4-l,1),0)},s=[i(5),i(3),i(1)].map(a=>Math.round(a*255));return{r:s[0],g:s[1],b:s[2],a:r}}function Pde(t){return nS(w$e(t))}function w$e(t){const{h:e,s:n,l:o,a:r}=t,i=o+n*Math.min(o,1-o),s=i===0?0:2-2*o/i;return{h:e,s,v:i,a:r}}function ton(t){t=non(t);let[e,n,o,r]=jnn(t,2).map(i=>parseInt(i,16));return r=r===void 0?r:r/255,{r:e,g:n,b:o,a:r}}function non(t){return t.startsWith("#")&&(t=t.slice(1)),t=t.replace(/([^0-9a-f])/gi,"F"),(t.length===3||t.length===4)&&(t=t.split("").map(e=>e+e).join("")),t.length!==6&&(t=Dde(Dde(t,6),8,"F")),t}function oon(t){const e=Math.abs(Ode(zT(0),zT(t)));return Math.abs(Ode(zT(16777215),zT(t)))>Math.min(e,50)?"#fff":"#000"}function fk(t,e){return n=>Object.keys(t).reduce((o,r)=>{const i=typeof t[r]=="object"&&t[r]!=null&&!Array.isArray(t[r])?t[r]:{type:t[r]};return n&&r in n?o[r]={...i,default:n[r]}:o[r]=i,e&&!o[r].source&&(o[r].source=e),o},{})}function bO(t,e){const n=as();if(!n)throw new Error(`[Vuetify] ${t} must be called from inside a setup function`);return n}function ron(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:bO("injectSelf");const{provides:n}=e;if(n&&t in n)return n[t]}const Bj=Symbol.for("vuetify:defaults");function S$e(){const t=ln(Bj);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function ion(t,e){return t.props&&(typeof t.props[e]<"u"||typeof t.props[FF(e)]<"u")}function son(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:S$e();const o=bO("useDefaults");if(e=e??o.type.name??o.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const r=q(()=>n.value?.[t._as??e]),i=new Proxy(t,{get(l,u){const c=Reflect.get(l,u);if(u==="class"||u==="style")return[r.value?.[u],c].filter(m=>m!=null);if(ion(o.vnode,u))return c;const d=r.value?.[u];if(d!==void 0)return d;const h=n.value?.global?.[u];return h!==void 0?h:c}}),s=wn();Lo(()=>{if(r.value){const l=Object.entries(r.value).filter(u=>{let[c]=u;return c.startsWith(c[0].toUpperCase())});s.value=l.length?Object.fromEntries(l):void 0}else s.value=void 0});function a(){const l=ron(Bj,o);To(Bj,q(()=>s.value?F$e(l?.value??{},s.value):l?.value))}return{props:i,provideSubDefaults:a}}function aon(t){if(t._setup=t._setup??t.setup,!t.name)return t;if(t._setup){t.props=fk(t.props??{},t.name)();const e=Object.keys(t.props).filter(n=>n!=="class"&&n!=="style");t.filterProps=function(n){return Hnn(n,e)},t.props._as=String,t.setup=function(n,o){const r=S$e();if(!r.value)return t._setup(n,o);const{props:i,provideSubDefaults:s}=son(n,n._as??t.name,r),a=t._setup(i,o);return s(),a}}return t}function lon(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(t?aon:Xe)(e)}function uon(t){const e=bO("useRender");e.render=t}function con(t){return Unn(()=>{const{class:e,style:n}=hon(t);return{colorClasses:e,colorStyles:n}})}function don(t){const{colorClasses:e,colorStyles:n}=con(()=>({background:er(t)}));return{backgroundColorClasses:e,backgroundColorStyles:n}}function hon(t){const e=er(t),n=[],o={};if(e.background)if(Nj(e.background)){if(o.backgroundColor=e.background,!e.text&&Znn(e.background)){const r=zT(e.background);if(r.a==null||r.a===1){const i=oon(r);o.color=i,o.caretColor=i}}}else n.push(`bg-${e.background}`);return e.text&&(Nj(e.text)?(o.color=e.text,o.caretColor=e.text):n.push(`text-${e.text}`)),{class:n,style:o}}const mon=fk({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function fon(t){return{dimensionStyles:q(()=>{const e={},n=iy(t.height),o=iy(t.maxHeight),r=iy(t.maxWidth),i=iy(t.minHeight),s=iy(t.minWidth),a=iy(t.width);return n!=null&&(e.height=n),o!=null&&(e.maxHeight=o),r!=null&&(e.maxWidth=r),i!=null&&(e.minHeight=i),s!=null&&(e.minWidth=s),a!=null&&(e.width=a),e})}}const pon=fk({elevation:{type:[Number,String],validator(t){const e=parseInt(t);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function gon(t){return{elevationClasses:Me(()=>{const e=vn(t)?t.value:t.elevation;return e==null?[]:[`elevation-${e}`]})}}const Con=Symbol.for("vuetify:locale");function yon(){const t=ln(Con);if(!t)throw new Error("[Vuetify] Could not find injected locale instance");return t}const Wde=Symbol.for("vuetify:theme"),bon=fk({theme:String},"theme");function von(t){bO("provideTheme");const e=ln(Wde,null);if(!e)throw new Error("Could not find Vuetify theme injection");const n=Me(()=>t.theme??e.name.value),o=Me(()=>e.themes.value[n.value]),r=Me(()=>e.isDisabled?void 0:`${e.prefix}theme--${n.value}`),i={...e,name:n,current:o,themeClasses:r};return To(Wde,i),i}const Ton={actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, heading","card-avatar":"image, list-item-avatar",chip:"chip","date-picker":"list-item, heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",divider:"divider",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",ossein:"ossein",paragraph:"text@3",sentences:"text@2",subtitle:"text",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"chip, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"text@6","table-tfoot":"text@2, avatar@2",text:"text"};function xon(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return _("div",{class:$e(["v-skeleton-loader__bone",`v-skeleton-loader__${t}`])},[e])}function Hde(t){const[e,n]=t.split("@");return Array.from({length:n}).map(()=>vO(e))}function vO(t){let e=[];if(!t)return e;const n=Ton[t];if(t!==n){if(t.includes(","))return zde(t);if(t.includes("@"))return Hde(t);n.includes(",")?e=zde(n):n.includes("@")?e=Hde(n):n&&e.push(vO(n))}return[xon(t,e)]}function zde(t){return t.replace(/\s/g,"").split(",").map(vO)}const Fon=fk({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...mon(),...pon(),...bon()},"VSkeletonLoader");lon()({name:"VSkeletonLoader",inheritAttrs:!1,props:Fon(),setup(t,e){let{attrs:n,slots:o}=e;const{backgroundColorClasses:r,backgroundColorStyles:i}=don(()=>t.color),{dimensionStyles:s}=fon(t),{elevationClasses:a}=gon(t),{themeClasses:l}=von(t),{t:u}=yon(),c=q(()=>vO(znn(t.type).join(",")));return uon(()=>{const d=!o.default||t.loading,h=t.boilerplate||!d?{}:{ariaLive:"polite",ariaLabel:u(t.loadingText),role:"alert"};return d?_("div",Nr({class:["v-skeleton-loader",{"v-skeleton-loader--boilerplate":t.boilerplate},l.value,r.value,a.value],style:[i.value,s.value]},h,n),[c.value]):_(rt,null,[o.default?.()])}),{}}});var Ti="top",Xs="bottom",Qs="right",xi="left",TO="auto",jv=[Ti,Xs,Qs,xi],Ug="start",ev="end",k$e="clippingParents",oG="viewport",i0="popper",E$e="reference",Lj=jv.reduce(function(t,e){return t.concat([e+"-"+Ug,e+"-"+ev])},[]),rG=[].concat(jv,[TO]).reduce(function(t,e){return t.concat([e,e+"-"+Ug,e+"-"+ev])},[]),_$e="beforeRead",R$e="read",D$e="afterRead",A$e="beforeMain",N$e="main",B$e="afterMain",L$e="beforeWrite",$$e="write",V$e="afterWrite",M$e=[_$e,R$e,D$e,A$e,N$e,B$e,L$e,$$e,V$e];function qu(t){return t?(t.nodeName||"").toLowerCase():null}function Zs(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Kg(t){var e=Zs(t).Element;return t instanceof e||t instanceof Element}function Aa(t){var e=Zs(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function iG(t){if(typeof ShadowRoot>"u")return!1;var e=Zs(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function won(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var o=e.styles[n]||{},r=e.attributes[n]||{},i=e.elements[n];!Aa(i)||!qu(i)||(Object.assign(i.style,o),Object.keys(r).forEach(function(s){var a=r[s];a===!1?i.removeAttribute(s):i.setAttribute(s,a===!0?"":a)}))})}function Son(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(o){var r=e.elements[o],i=e.attributes[o]||{},s=Object.keys(e.styles.hasOwnProperty(o)?e.styles[o]:n[o]),a=s.reduce(function(l,u){return l[u]="",l},{});!Aa(r)||!qu(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(l){r.removeAttribute(l)}))})}}const sG={name:"applyStyles",enabled:!0,phase:"write",fn:won,effect:Son,requires:["computeStyles"]};function Ru(t){return t.split("-")[0]}var mg=Math.max,K$=Math.min,tv=Math.round;function $j(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function O$e(){return!/^((?!chrome|android).)*safari/i.test($j())}function nv(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var o=t.getBoundingClientRect(),r=1,i=1;e&&Aa(t)&&(r=t.offsetWidth>0&&tv(o.width)/t.offsetWidth||1,i=t.offsetHeight>0&&tv(o.height)/t.offsetHeight||1);var s=Kg(t)?Zs(t):window,a=s.visualViewport,l=!O$e()&&n,u=(o.left+(l&&a?a.offsetLeft:0))/r,c=(o.top+(l&&a?a.offsetTop:0))/i,d=o.width/r,h=o.height/i;return{width:d,height:h,top:c,right:u+d,bottom:c+h,left:u,x:u,y:c}}function aG(t){var e=nv(t),n=t.offsetWidth,o=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:o}}function I$e(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&iG(n)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function yd(t){return Zs(t).getComputedStyle(t)}function kon(t){return["table","td","th"].indexOf(qu(t))>=0}function Tf(t){return((Kg(t)?t.ownerDocument:t.document)||window.document).documentElement}function xO(t){return qu(t)==="html"?t:t.assignedSlot||t.parentNode||(iG(t)?t.host:null)||Tf(t)}function jde(t){return!Aa(t)||yd(t).position==="fixed"?null:t.offsetParent}function Eon(t){var e=/firefox/i.test($j()),n=/Trident/i.test($j());if(n&&Aa(t)){var o=yd(t);if(o.position==="fixed")return null}var r=xO(t);for(iG(r)&&(r=r.host);Aa(r)&&["html","body"].indexOf(qu(r))<0;){var i=yd(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function pk(t){for(var e=Zs(t),n=jde(t);n&&kon(n)&&yd(n).position==="static";)n=jde(n);return n&&(qu(n)==="html"||qu(n)==="body"&&yd(n).position==="static")?e:n||Eon(t)||e}function lG(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function wF(t,e,n){return mg(t,K$(e,n))}function _on(t,e,n){var o=wF(t,e,n);return o>n?n:o}function P$e(){return{top:0,right:0,bottom:0,left:0}}function W$e(t){return Object.assign({},P$e(),t)}function H$e(t,e){return e.reduce(function(n,o){return n[o]=t,n},{})}var Ron=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,W$e(typeof t!="number"?t:H$e(t,jv))};function Don(t){var e,n=t.state,o=t.name,r=t.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Ru(n.placement),l=lG(a),u=[xi,Qs].indexOf(a)>=0,c=u?"height":"width";if(!(!i||!s)){var d=Ron(r.padding,n),h=aG(i),m=l==="y"?Ti:xi,f=l==="y"?Xs:Qs,p=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],g=s[l]-n.rects.reference[l],y=pk(i),b=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,F=p/2-g/2,v=d[m],T=b-h[c]-d[f],S=b/2-h[c]/2+F,k=wF(v,S,T),R=l;n.modifiersData[o]=(e={},e[R]=k,e.centerOffset=k-S,e)}}function Aon(t){var e=t.state,n=t.options,o=n.element,r=o===void 0?"[data-popper-arrow]":o;r!=null&&(typeof r=="string"&&(r=e.elements.popper.querySelector(r),!r)||I$e(e.elements.popper,r)&&(e.elements.arrow=r))}const z$e={name:"arrow",enabled:!0,phase:"main",fn:Don,effect:Aon,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ov(t){return t.split("-")[1]}var Non={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Bon(t,e){var n=t.x,o=t.y,r=e.devicePixelRatio||1;return{x:tv(n*r)/r||0,y:tv(o*r)/r||0}}function Ude(t){var e,n=t.popper,o=t.popperRect,r=t.placement,i=t.variation,s=t.offsets,a=t.position,l=t.gpuAcceleration,u=t.adaptive,c=t.roundOffsets,d=t.isFixed,h=s.x,m=h===void 0?0:h,f=s.y,p=f===void 0?0:f,g=typeof c=="function"?c({x:m,y:p}):{x:m,y:p};m=g.x,p=g.y;var y=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),F=xi,v=Ti,T=window;if(u){var S=pk(n),k="clientHeight",R="clientWidth";if(S===Zs(n)&&(S=Tf(n),yd(S).position!=="static"&&a==="absolute"&&(k="scrollHeight",R="scrollWidth")),S=S,r===Ti||(r===xi||r===Qs)&&i===ev){v=Xs;var D=d&&S===T&&T.visualViewport?T.visualViewport.height:S[k];p-=D-o.height,p*=l?1:-1}if(r===xi||(r===Ti||r===Xs)&&i===ev){F=Qs;var V=d&&S===T&&T.visualViewport?T.visualViewport.width:S[R];m-=V-o.width,m*=l?1:-1}}var E=Object.assign({position:a},u&&Non),A=c===!0?Bon({x:m,y:p},Zs(n)):{x:m,y:p};if(m=A.x,p=A.y,l){var N;return Object.assign({},E,(N={},N[v]=b?"0":"",N[F]=y?"0":"",N.transform=(T.devicePixelRatio||1)<=1?"translate("+m+"px, "+p+"px)":"translate3d("+m+"px, "+p+"px, 0)",N))}return Object.assign({},E,(e={},e[v]=b?p+"px":"",e[F]=y?m+"px":"",e.transform="",e))}function Lon(t){var e=t.state,n=t.options,o=n.gpuAcceleration,r=o===void 0?!0:o,i=n.adaptive,s=i===void 0?!0:i,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:Ru(e.placement),variation:ov(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Ude(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Ude(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const uG={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Lon,data:{}};var Y_={passive:!0};function $on(t){var e=t.state,n=t.instance,o=t.options,r=o.scroll,i=r===void 0?!0:r,s=o.resize,a=s===void 0?!0:s,l=Zs(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,Y_)}),a&&l.addEventListener("resize",n.update,Y_),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Y_)}),a&&l.removeEventListener("resize",n.update,Y_)}}const cG={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:$on,data:{}};var Von={left:"right",right:"left",bottom:"top",top:"bottom"};function FD(t){return t.replace(/left|right|bottom|top/g,function(e){return Von[e]})}var Mon={start:"end",end:"start"};function Kde(t){return t.replace(/start|end/g,function(e){return Mon[e]})}function dG(t){var e=Zs(t),n=e.pageXOffset,o=e.pageYOffset;return{scrollLeft:n,scrollTop:o}}function hG(t){return nv(Tf(t)).left+dG(t).scrollLeft}function Oon(t,e){var n=Zs(t),o=Tf(t),r=n.visualViewport,i=o.clientWidth,s=o.clientHeight,a=0,l=0;if(r){i=r.width,s=r.height;var u=O$e();(u||!u&&e==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:i,height:s,x:a+hG(t),y:l}}function Ion(t){var e,n=Tf(t),o=dG(t),r=(e=t.ownerDocument)==null?void 0:e.body,i=mg(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=mg(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-o.scrollLeft+hG(t),l=-o.scrollTop;return yd(r||n).direction==="rtl"&&(a+=mg(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}function mG(t){var e=yd(t),n=e.overflow,o=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function j$e(t){return["html","body","#document"].indexOf(qu(t))>=0?t.ownerDocument.body:Aa(t)&&mG(t)?t:j$e(xO(t))}function SF(t,e){var n;e===void 0&&(e=[]);var o=j$e(t),r=o===((n=t.ownerDocument)==null?void 0:n.body),i=Zs(o),s=r?[i].concat(i.visualViewport||[],mG(o)?o:[]):o,a=e.concat(s);return r?a:a.concat(SF(xO(s)))}function Vj(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Pon(t,e){var n=nv(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function qde(t,e,n){return e===oG?Vj(Oon(t,n)):Kg(e)?Pon(e,n):Vj(Ion(Tf(t)))}function Won(t){var e=SF(xO(t)),n=["absolute","fixed"].indexOf(yd(t).position)>=0,o=n&&Aa(t)?pk(t):t;return Kg(o)?e.filter(function(r){return Kg(r)&&I$e(r,o)&&qu(r)!=="body"}):[]}function Hon(t,e,n,o){var r=e==="clippingParents"?Won(t):[].concat(e),i=[].concat(r,[n]),s=i[0],a=i.reduce(function(l,u){var c=qde(t,u,o);return l.top=mg(c.top,l.top),l.right=K$(c.right,l.right),l.bottom=K$(c.bottom,l.bottom),l.left=mg(c.left,l.left),l},qde(t,s,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function U$e(t){var e=t.reference,n=t.element,o=t.placement,r=o?Ru(o):null,i=o?ov(o):null,s=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(r){case Ti:l={x:s,y:e.y-n.height};break;case Xs:l={x:s,y:e.y+e.height};break;case Qs:l={x:e.x+e.width,y:a};break;case xi:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var u=r?lG(r):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case Ug:l[u]=l[u]-(e[c]/2-n[c]/2);break;case ev:l[u]=l[u]+(e[c]/2-n[c]/2);break}}return l}function rv(t,e){e===void 0&&(e={});var n=e,o=n.placement,r=o===void 0?t.placement:o,i=n.strategy,s=i===void 0?t.strategy:i,a=n.boundary,l=a===void 0?k$e:a,u=n.rootBoundary,c=u===void 0?oG:u,d=n.elementContext,h=d===void 0?i0:d,m=n.altBoundary,f=m===void 0?!1:m,p=n.padding,g=p===void 0?0:p,y=W$e(typeof g!="number"?g:H$e(g,jv)),b=h===i0?E$e:i0,F=t.rects.popper,v=t.elements[f?b:h],T=Hon(Kg(v)?v:v.contextElement||Tf(t.elements.popper),l,c,s),S=nv(t.elements.reference),k=U$e({reference:S,element:F,placement:r}),R=Vj(Object.assign({},F,k)),D=h===i0?R:S,V={top:T.top-D.top+y.top,bottom:D.bottom-T.bottom+y.bottom,left:T.left-D.left+y.left,right:D.right-T.right+y.right},E=t.modifiersData.offset;if(h===i0&&E){var A=E[r];Object.keys(V).forEach(function(N){var I=[Qs,Xs].indexOf(N)>=0?1:-1,M=[Ti,Xs].indexOf(N)>=0?"y":"x";V[N]+=A[M]*I})}return V}function zon(t,e){e===void 0&&(e={});var n=e,o=n.placement,r=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?rG:l,c=ov(o),d=c?a?Lj:Lj.filter(function(f){return ov(f)===c}):jv,h=d.filter(function(f){return u.indexOf(f)>=0});h.length===0&&(h=d);var m=h.reduce(function(f,p){return f[p]=rv(t,{placement:p,boundary:r,rootBoundary:i,padding:s})[Ru(p)],f},{});return Object.keys(m).sort(function(f,p){return m[f]-m[p]})}function jon(t){if(Ru(t)===TO)return[];var e=FD(t);return[Kde(t),e,Kde(e)]}function Uon(t){var e=t.state,n=t.options,o=t.name;if(!e.modifiersData[o]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,h=n.altBoundary,m=n.flipVariations,f=m===void 0?!0:m,p=n.allowedAutoPlacements,g=e.options.placement,y=Ru(g),b=y===g,F=l||(b||!f?[FD(g)]:jon(g)),v=[g].concat(F).reduce(function(He,P){return He.concat(Ru(P)===TO?zon(e,{placement:P,boundary:c,rootBoundary:d,padding:u,flipVariations:f,allowedAutoPlacements:p}):P)},[]),T=e.rects.reference,S=e.rects.popper,k=new Map,R=!0,D=v[0],V=0;V<v.length;V++){var E=v[V],A=Ru(E),N=ov(E)===Ug,I=[Ti,Xs].indexOf(A)>=0,M=I?"width":"height",$=rv(e,{placement:E,boundary:c,rootBoundary:d,altBoundary:h,padding:u}),H=I?N?Qs:xi:N?Xs:Ti;T[M]>S[M]&&(H=FD(H));var ke=FD(H),Oe=[];if(i&&Oe.push($[A]<=0),a&&Oe.push($[H]<=0,$[ke]<=0),Oe.every(function(He){return He})){D=E,R=!1;break}k.set(E,Oe)}if(R)for(var ve=f?3:1,K=function(He){var P=v.find(function(Ee){var ae=k.get(Ee);if(ae)return ae.slice(0,He).every(function(ne){return ne})});if(P)return D=P,"break"},Pe=ve;Pe>0;Pe--){var Y=K(Pe);if(Y==="break")break}e.placement!==D&&(e.modifiersData[o]._skip=!0,e.placement=D,e.reset=!0)}}const K$e={name:"flip",enabled:!0,phase:"main",fn:Uon,requiresIfExists:["offset"],data:{_skip:!1}};function Jde(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Gde(t){return[Ti,Qs,Xs,xi].some(function(e){return t[e]>=0})}function Kon(t){var e=t.state,n=t.name,o=e.rects.reference,r=e.rects.popper,i=e.modifiersData.preventOverflow,s=rv(e,{elementContext:"reference"}),a=rv(e,{altBoundary:!0}),l=Jde(s,o),u=Jde(a,r,i),c=Gde(l),d=Gde(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}const q$e={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Kon};function qon(t,e,n){var o=Ru(t),r=[xi,Ti].indexOf(o)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,s=i[0],a=i[1];return s=s||0,a=(a||0)*r,[xi,Qs].indexOf(o)>=0?{x:a,y:s}:{x:s,y:a}}function Jon(t){var e=t.state,n=t.options,o=t.name,r=n.offset,i=r===void 0?[0,0]:r,s=rG.reduce(function(c,d){return c[d]=qon(d,e.rects,i),c},{}),a=s[e.placement],l=a.x,u=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[o]=s}const J$e={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Jon};function Gon(t){var e=t.state,n=t.name;e.modifiersData[n]=U$e({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const fG={name:"popperOffsets",enabled:!0,phase:"read",fn:Gon,data:{}};function Yon(t){return t==="x"?"y":"x"}function Xon(t){var e=t.state,n=t.options,o=t.name,r=n.mainAxis,i=r===void 0?!0:r,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,h=n.tether,m=h===void 0?!0:h,f=n.tetherOffset,p=f===void 0?0:f,g=rv(e,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),y=Ru(e.placement),b=ov(e.placement),F=!b,v=lG(y),T=Yon(v),S=e.modifiersData.popperOffsets,k=e.rects.reference,R=e.rects.popper,D=typeof p=="function"?p(Object.assign({},e.rects,{placement:e.placement})):p,V=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),E=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,A={x:0,y:0};if(S){if(i){var N,I=v==="y"?Ti:xi,M=v==="y"?Xs:Qs,$=v==="y"?"height":"width",H=S[v],ke=H+g[I],Oe=H-g[M],ve=m?-R[$]/2:0,K=b===Ug?k[$]:R[$],Pe=b===Ug?-R[$]:-k[$],Y=e.elements.arrow,He=m&&Y?aG(Y):{width:0,height:0},P=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:P$e(),Ee=P[I],ae=P[M],ne=wF(0,k[$],He[$]),wt=F?k[$]/2-ve-ne-Ee-V.mainAxis:K-ne-Ee-V.mainAxis,vt=F?-k[$]/2+ve+ne+ae+V.mainAxis:Pe+ne+ae+V.mainAxis,Tt=e.elements.arrow&&pk(e.elements.arrow),B=Tt?v==="y"?Tt.clientTop||0:Tt.clientLeft||0:0,L=(N=E?.[v])!=null?N:0,j=H+wt-L-B,G=H+vt-L,Q=wF(m?K$(ke,j):ke,H,m?mg(Oe,G):Oe);S[v]=Q,A[v]=Q-H}if(a){var Z,te=v==="x"?Ti:xi,oe=v==="x"?Xs:Qs,U=S[T],X=T==="y"?"height":"width",Ve=U+g[te],ce=U-g[oe],ue=[Ti,xi].indexOf(y)!==-1,de=(Z=E?.[T])!=null?Z:0,Te=ue?Ve:U-k[X]-R[X]-de+V.altAxis,le=ue?U+k[X]+R[X]-de-V.altAxis:ce,ze=m&&ue?_on(Te,U,le):wF(m?Te:Ve,U,m?le:ce);S[T]=ze,A[T]=ze-U}e.modifiersData[o]=A}}const G$e={name:"preventOverflow",enabled:!0,phase:"main",fn:Xon,requiresIfExists:["offset"]};function Qon(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Zon(t){return t===Zs(t)||!Aa(t)?dG(t):Qon(t)}function ern(t){var e=t.getBoundingClientRect(),n=tv(e.width)/t.offsetWidth||1,o=tv(e.height)/t.offsetHeight||1;return n!==1||o!==1}function trn(t,e,n){n===void 0&&(n=!1);var o=Aa(e),r=Aa(e)&&ern(e),i=Tf(e),s=nv(t,r,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&((qu(e)!=="body"||mG(i))&&(a=Zon(e)),Aa(e)?(l=nv(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):i&&(l.x=hG(i))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function nrn(t){var e=new Map,n=new Set,o=[];t.forEach(function(i){e.set(i.name,i)});function r(i){n.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&r(l)}}),o.push(i)}return t.forEach(function(i){n.has(i.name)||r(i)}),o}function orn(t){var e=nrn(t);return M$e.reduce(function(n,o){return n.concat(e.filter(function(r){return r.phase===o}))},[])}function rrn(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function irn(t){var e=t.reduce(function(n,o){var r=n[o.name];return n[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,n},{});return Object.keys(e).map(function(n){return e[n]})}var Yde={placement:"bottom",modifiers:[],strategy:"absolute"};function Xde(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function FO(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,o=n===void 0?[]:n,r=e.defaultOptions,i=r===void 0?Yde:r;return function(s,a,l){l===void 0&&(l=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Yde,i),modifiersData:{},elements:{reference:s,popper:a},attributes:{},styles:{}},c=[],d=!1,h={state:u,setOptions:function(p){var g=typeof p=="function"?p(u.options):p;f(),u.options=Object.assign({},i,u.options,g),u.scrollParents={reference:Kg(s)?SF(s):s.contextElement?SF(s.contextElement):[],popper:SF(a)};var y=orn(irn([].concat(o,u.options.modifiers)));return u.orderedModifiers=y.filter(function(b){return b.enabled}),m(),h.update()},forceUpdate:function(){if(!d){var p=u.elements,g=p.reference,y=p.popper;if(Xde(g,y)){u.rects={reference:trn(g,pk(y),u.options.strategy==="fixed"),popper:aG(y)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(R){return u.modifiersData[R.name]=Object.assign({},R.data)});for(var b=0;b<u.orderedModifiers.length;b++){if(u.reset===!0){u.reset=!1,b=-1;continue}var F=u.orderedModifiers[b],v=F.fn,T=F.options,S=T===void 0?{}:T,k=F.name;typeof v=="function"&&(u=v({state:u,options:S,name:k,instance:h})||u)}}}},update:rrn(function(){return new Promise(function(p){h.forceUpdate(),p(u)})}),destroy:function(){f(),d=!0}};if(!Xde(s,a))return h;h.setOptions(l).then(function(p){!d&&l.onFirstUpdate&&l.onFirstUpdate(p)});function m(){u.orderedModifiers.forEach(function(p){var g=p.name,y=p.options,b=y===void 0?{}:y,F=p.effect;if(typeof F=="function"){var v=F({state:u,name:g,instance:h,options:b}),T=function(){};c.push(v||T)}})}function f(){c.forEach(function(p){return p()}),c=[]}return h}}var srn=FO(),arn=[cG,fG,uG,sG],lrn=FO({defaultModifiers:arn}),urn=[cG,fG,uG,sG,J$e,K$e,G$e,z$e,q$e],pG=FO({defaultModifiers:urn});const Y$e=Object.freeze(Object.defineProperty({__proto__:null,afterMain:B$e,afterRead:D$e,afterWrite:V$e,applyStyles:sG,arrow:z$e,auto:TO,basePlacements:jv,beforeMain:A$e,beforeRead:_$e,beforeWrite:L$e,bottom:Xs,clippingParents:k$e,computeStyles:uG,createPopper:pG,createPopperBase:srn,createPopperLite:lrn,detectOverflow:rv,end:ev,eventListeners:cG,flip:K$e,hide:q$e,left:xi,main:N$e,modifierPhases:M$e,offset:J$e,placements:rG,popper:i0,popperGenerator:FO,popperOffsets:fG,preventOverflow:G$e,read:R$e,reference:E$e,right:Qs,start:Ug,top:Ti,variationPlacements:Lj,viewport:oG,write:$$e},Symbol.toStringTag,{value:"Module"})),ih=new Map,nH={set(t,e,n){ih.has(t)||ih.set(t,new Map);const o=ih.get(t);if(!o.has(e)&&o.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`);return}o.set(e,n)},get(t,e){return ih.has(t)&&ih.get(t).get(e)||null},remove(t,e){if(!ih.has(t))return;const n=ih.get(t);n.delete(e),n.size===0&&ih.delete(t)}},crn=1e6,drn=1e3,Mj="transitionend",X$e=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(e,n)=>`#${CSS.escape(n)}`)),t),hrn=t=>t==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),mrn=t=>{do t+=Math.floor(Math.random()*crn);while(document.getElementById(t));return t},frn=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const o=Number.parseFloat(e),r=Number.parseFloat(n);return!o&&!r?0:(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*drn)},Q$e=t=>{t.dispatchEvent(new Event(Mj))},id=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),Dm=t=>id(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(X$e(t)):null,Uv=t=>{if(!id(t)||t.getClientRects().length===0)return!1;const e=getComputedStyle(t).getPropertyValue("visibility")==="visible",n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const o=t.closest("summary");if(o&&o.parentNode!==n||o===null)return!1}return e},Am=t=>!t||t.nodeType!==Node.ELEMENT_NODE||t.classList.contains("disabled")?!0:typeof t.disabled<"u"?t.disabled:t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false",Z$e=t=>{if(!document.documentElement.attachShadow)return null;if(typeof t.getRootNode=="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?Z$e(t.parentNode):null},q$=()=>{},gk=t=>{t.offsetHeight},eVe=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,oH=[],prn=t=>{document.readyState==="loading"?(oH.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of oH)e()}),oH.push(t)):t()},Ya=()=>document.documentElement.dir==="rtl",rl=t=>{prn(()=>{const e=eVe();if(e){const n=t.NAME,o=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=o,t.jQueryInterface)}})},Xi=(t,e=[],n=t)=>typeof t=="function"?t.call(...e):n,tVe=(t,e,n=!0)=>{if(!n){Xi(t);return}const o=frn(e)+5;let r=!1;const i=({target:s})=>{s===e&&(r=!0,e.removeEventListener(Mj,i),Xi(t))};e.addEventListener(Mj,i),setTimeout(()=>{r||Q$e(e)},o)},gG=(t,e,n,o)=>{const r=t.length;let i=t.indexOf(e);return i===-1?!n&&o?t[r-1]:t[0]:(i+=n?1:-1,o&&(i=(i+r)%r),t[Math.max(0,Math.min(i,r-1))])},grn=/[^.]*(?=\..*)\.|.*/,Crn=/\..*/,yrn=/::\d+$/,rH={};let Qde=1;const nVe={mouseenter:"mouseover",mouseleave:"mouseout"},brn=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 oVe(t,e){return e&&`${e}::${Qde++}`||t.uidEvent||Qde++}function rVe(t){const e=oVe(t);return t.uidEvent=e,rH[e]=rH[e]||{},rH[e]}function vrn(t,e){return function n(o){return CG(o,{delegateTarget:t}),n.oneOff&&be.off(t,o.type,e),e.apply(t,[o])}}function Trn(t,e,n){return function o(r){const i=t.querySelectorAll(e);for(let{target:s}=r;s&&s!==this;s=s.parentNode)for(const a of i)if(a===s)return CG(r,{delegateTarget:s}),o.oneOff&&be.off(t,r.type,e,n),n.apply(s,[r])}}function iVe(t,e,n=null){return Object.values(t).find(o=>o.callable===e&&o.delegationSelector===n)}function sVe(t,e,n){const o=typeof e=="string",r=o?n:e||n;let i=aVe(t);return brn.has(i)||(i=t),[o,r,i]}function Zde(t,e,n,o,r){if(typeof e!="string"||!t)return;let[i,s,a]=sVe(e,n,o);e in nVe&&(s=(m=>function(f){if(!f.relatedTarget||f.relatedTarget!==f.delegateTarget&&!f.delegateTarget.contains(f.relatedTarget))return m.call(this,f)})(s));const l=rVe(t),u=l[a]||(l[a]={}),c=iVe(u,s,i?n:null);if(c){c.oneOff=c.oneOff&&r;return}const d=oVe(s,e.replace(grn,"")),h=i?Trn(t,n,s):vrn(t,s);h.delegationSelector=i?n:null,h.callable=s,h.oneOff=r,h.uidEvent=d,u[d]=h,t.addEventListener(a,h,i)}function Oj(t,e,n,o,r){const i=iVe(e[n],o,r);i&&(t.removeEventListener(n,i,!!r),delete e[n][i.uidEvent])}function xrn(t,e,n,o){const r=e[n]||{};for(const[i,s]of Object.entries(r))i.includes(o)&&Oj(t,e,n,s.callable,s.delegationSelector)}function aVe(t){return t=t.replace(Crn,""),nVe[t]||t}const be={on(t,e,n,o){Zde(t,e,n,o,!1)},one(t,e,n,o){Zde(t,e,n,o,!0)},off(t,e,n,o){if(typeof e!="string"||!t)return;const[r,i,s]=sVe(e,n,o),a=s!==e,l=rVe(t),u=l[s]||{},c=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(u).length)return;Oj(t,l,s,i,r?n:null);return}if(c)for(const d of Object.keys(l))xrn(t,l,d,e.slice(1));for(const[d,h]of Object.entries(u)){const m=d.replace(yrn,"");(!a||e.includes(m))&&Oj(t,l,s,h.callable,h.delegationSelector)}},trigger(t,e,n){if(typeof e!="string"||!t)return null;const o=eVe(),r=aVe(e),i=e!==r;let s=null,a=!0,l=!0,u=!1;i&&o&&(s=o.Event(e,n),o(t).trigger(s),a=!s.isPropagationStopped(),l=!s.isImmediatePropagationStopped(),u=s.isDefaultPrevented());const c=CG(new Event(e,{bubbles:a,cancelable:!0}),n);return u&&c.preventDefault(),l&&t.dispatchEvent(c),c.defaultPrevented&&s&&s.preventDefault(),c}};function CG(t,e={}){for(const[n,o]of Object.entries(e))try{t[n]=o}catch{Object.defineProperty(t,n,{configurable:!0,get(){return o}})}return t}function ehe(t){if(t==="true")return!0;if(t==="false")return!1;if(t===Number(t).toString())return Number(t);if(t===""||t==="null")return null;if(typeof t!="string")return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function iH(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const sd={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${iH(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${iH(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter(o=>o.startsWith("bs")&&!o.startsWith("bsConfig"));for(const o of n){let r=o.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1),e[r]=ehe(t.dataset[o])}return e},getDataAttribute(t,e){return ehe(t.getAttribute(`data-bs-${iH(e)}`))}};class Ck{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(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,n){const o=id(n)?sd.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof o=="object"?o:{},...id(n)?sd.getDataAttributes(n):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const[o,r]of Object.entries(n)){const i=e[o],s=id(i)?"element":hrn(i);if(!new RegExp(r).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${o}" provided type "${s}" but expected type "${r}".`)}}}const Frn="5.3.8";class ql extends Ck{constructor(e,n){super(),e=Dm(e),e&&(this._element=e,this._config=this._getConfig(n),nH.set(this._element,this.constructor.DATA_KEY,this))}dispose(){nH.remove(this._element,this.constructor.DATA_KEY),be.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,n,o=!0){tVe(e,n,o)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return nH.get(Dm(e),this.DATA_KEY)}static getOrCreateInstance(e,n={}){return this.getInstance(e)||new this(e,typeof n=="object"?n:null)}static get VERSION(){return Frn}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const sH=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&n!=="#"?n.trim():null}return e?e.split(",").map(n=>X$e(n)).join(","):null},mt={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(n=>n.matches(e))},parents(t,e){const n=[];let o=t.parentNode.closest(e);for(;o;)n.push(o),o=o.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(n=>!Am(n)&&Uv(n))},getSelectorFromElement(t){const e=sH(t);return e&&mt.findOne(e)?e:null},getElementFromSelector(t){const e=sH(t);return e?mt.findOne(e):null},getMultipleElementsFromSelector(t){const e=sH(t);return e?mt.find(e):[]}},wO=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,o=t.NAME;be.on(document,n,`[data-bs-dismiss="${o}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),Am(this))return;const i=mt.getElementFromSelector(this)||this.closest(`.${o}`);t.getOrCreateInstance(i)[e]()})},wrn="alert",Srn="bs.alert",lVe=`.${Srn}`,krn=`close${lVe}`,Ern=`closed${lVe}`,_rn="fade",Rrn="show";class SO extends ql{static get NAME(){return wrn}close(){if(be.trigger(this._element,krn).defaultPrevented)return;this._element.classList.remove(Rrn);const e=this._element.classList.contains(_rn);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),be.trigger(this._element,Ern),this.dispose()}static jQueryInterface(e){return this.each(function(){const n=SO.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}wO(SO,"close");rl(SO);const Drn="button",Arn="bs.button",Nrn=`.${Arn}`,Brn=".data-api",Lrn="active",the='[data-bs-toggle="button"]',$rn=`click${Nrn}${Brn}`;class kO extends ql{static get NAME(){return Drn}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Lrn))}static jQueryInterface(e){return this.each(function(){const n=kO.getOrCreateInstance(this);e==="toggle"&&n[e]()})}}be.on(document,$rn,the,t=>{t.preventDefault();const e=t.target.closest(the);kO.getOrCreateInstance(e).toggle()});rl(kO);const Vrn="swipe",Kv=".bs.swipe",Mrn=`touchstart${Kv}`,Orn=`touchmove${Kv}`,Irn=`touchend${Kv}`,Prn=`pointerdown${Kv}`,Wrn=`pointerup${Kv}`,Hrn="touch",zrn="pen",jrn="pointer-event",Urn=40,Krn={endCallback:null,leftCallback:null,rightCallback:null},qrn={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class J$ extends Ck{constructor(e,n){super(),this._element=e,!(!e||!J$.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Krn}static get DefaultType(){return qrn}static get NAME(){return Vrn}dispose(){be.off(this._element,Kv)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Xi(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=Urn)return;const n=e/this._deltaX;this._deltaX=0,n&&Xi(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(be.on(this._element,Prn,e=>this._start(e)),be.on(this._element,Wrn,e=>this._end(e)),this._element.classList.add(jrn)):(be.on(this._element,Mrn,e=>this._start(e)),be.on(this._element,Orn,e=>this._move(e)),be.on(this._element,Irn,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===zrn||e.pointerType===Hrn)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Jrn="carousel",Grn="bs.carousel",xf=`.${Grn}`,uVe=".data-api",Yrn="ArrowLeft",Xrn="ArrowRight",Qrn=500,Y1="next",ay="prev",s0="left",wD="right",Zrn=`slide${xf}`,aH=`slid${xf}`,ein=`keydown${xf}`,tin=`mouseenter${xf}`,nin=`mouseleave${xf}`,oin=`dragstart${xf}`,rin=`load${xf}${uVe}`,iin=`click${xf}${uVe}`,cVe="carousel",X_="active",sin="slide",ain="carousel-item-end",lin="carousel-item-start",uin="carousel-item-next",cin="carousel-item-prev",dVe=".active",hVe=".carousel-item",din=dVe+hVe,hin=".carousel-item img",min=".carousel-indicators",fin="[data-bs-slide], [data-bs-slide-to]",pin='[data-bs-ride="carousel"]',gin={[Yrn]:wD,[Xrn]:s0},Cin={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},yin={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class yk extends ql{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=mt.findOne(min,this._element),this._addEventListeners(),this._config.ride===cVe&&this.cycle()}static get Default(){return Cin}static get DefaultType(){return yin}static get NAME(){return Jrn}next(){this._slide(Y1)}nextWhenVisible(){!document.hidden&&Uv(this._element)&&this.next()}prev(){this._slide(ay)}pause(){this._isSliding&&Q$e(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){be.one(this._element,aH,()=>this.cycle());return}this.cycle()}}to(e){const n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding){be.one(this._element,aH,()=>this.to(e));return}const o=this._getItemIndex(this._getActive());if(o===e)return;const r=e>o?Y1:ay;this._slide(r,n[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&be.on(this._element,ein,e=>this._keydown(e)),this._config.pause==="hover"&&(be.on(this._element,tin,()=>this.pause()),be.on(this._element,nin,()=>this._maybeEnableCycle())),this._config.touch&&J$.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of mt.find(hin,this._element))be.on(n,oin,o=>o.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(s0)),rightCallback:()=>this._slide(this._directionToOrder(wD)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Qrn+this._config.interval))}};this._swipeHelper=new J$(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const n=gin[e.key];n&&(e.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const n=mt.findOne(dVe,this._indicatorsElement);n.classList.remove(X_),n.removeAttribute("aria-current");const o=mt.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);o&&(o.classList.add(X_),o.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const n=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(e,n=null){if(this._isSliding)return;const o=this._getActive(),r=e===Y1,i=n||gG(this._getItems(),o,r,this._config.wrap);if(i===o)return;const s=this._getItemIndex(i),a=h=>be.trigger(this._element,h,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(o),to:s});if(a(Zrn).defaultPrevented||!o||!i)return;const l=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=r?lin:ain,c=r?uin:cin;i.classList.add(c),gk(i),o.classList.add(u),i.classList.add(u);const d=()=>{i.classList.remove(u,c),i.classList.add(X_),o.classList.remove(X_,c,u),this._isSliding=!1,a(aH)};this._queueCallback(d,o,this._isAnimated()),l&&this.cycle()}_isAnimated(){return this._element.classList.contains(sin)}_getActive(){return mt.findOne(din,this._element)}_getItems(){return mt.find(hVe,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Ya()?e===s0?ay:Y1:e===s0?Y1:ay}_orderToDirection(e){return Ya()?e===ay?s0:wD:e===ay?wD:s0}static jQueryInterface(e){return this.each(function(){const n=yk.getOrCreateInstance(this,e);if(typeof e=="number"){n.to(e);return}if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}be.on(document,iin,fin,function(t){const e=mt.getElementFromSelector(this);if(!e||!e.classList.contains(cVe))return;t.preventDefault();const n=yk.getOrCreateInstance(e),o=this.getAttribute("data-bs-slide-to");if(o){n.to(o),n._maybeEnableCycle();return}if(sd.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});be.on(window,rin,()=>{const t=mt.find(pin);for(const e of t)yk.getOrCreateInstance(e)});rl(yk);const bin="collapse",vin="bs.collapse",bk=`.${vin}`,Tin=".data-api",xin=`show${bk}`,Fin=`shown${bk}`,win=`hide${bk}`,Sin=`hidden${bk}`,kin=`click${bk}${Tin}`,lH="show",g0="collapse",Q_="collapsing",Ein="collapsed",_in=`:scope .${g0} .${g0}`,Rin="collapse-horizontal",Din="width",Ain="height",Nin=".collapse.show, .collapse.collapsing",Ij='[data-bs-toggle="collapse"]',Bin={parent:null,toggle:!0},Lin={parent:"(null|element)",toggle:"boolean"};class oS extends ql{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const o=mt.find(Ij);for(const r of o){const i=mt.getSelectorFromElement(r),s=mt.find(i).filter(a=>a===this._element);i!==null&&s.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Bin}static get DefaultType(){return Lin}static get NAME(){return bin}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Nin).filter(i=>i!==this._element).map(i=>oS.getOrCreateInstance(i,{toggle:!1}))),e.length&&e[0]._isTransitioning||be.trigger(this._element,xin).defaultPrevented)return;for(const i of e)i.hide();const n=this._getDimension();this._element.classList.remove(g0),this._element.classList.add(Q_),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(Q_),this._element.classList.add(g0,lH),this._element.style[n]="",be.trigger(this._element,Fin)},r=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[n]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown()||be.trigger(this._element,win).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,gk(this._element),this._element.classList.add(Q_),this._element.classList.remove(g0,lH);for(const o of this._triggerArray){const r=mt.getElementFromSelector(o);r&&!this._isShown(r)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(Q_),this._element.classList.add(g0),be.trigger(this._element,Sin)};this._element.style[e]="",this._queueCallback(n,this._element,!0)}_isShown(e=this._element){return e.classList.contains(lH)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=Dm(e.parent),e}_getDimension(){return this._element.classList.contains(Rin)?Din:Ain}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Ij);for(const n of e){const o=mt.getElementFromSelector(n);o&&this._addAriaAndCollapsedClass([n],this._isShown(o))}}_getFirstLevelChildren(e){const n=mt.find(_in,this._config.parent);return mt.find(e,this._config.parent).filter(o=>!n.includes(o))}_addAriaAndCollapsedClass(e,n){if(e.length)for(const o of e)o.classList.toggle(Ein,!n),o.setAttribute("aria-expanded",n)}static jQueryInterface(e){const n={};return typeof e=="string"&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){const o=oS.getOrCreateInstance(this,n);if(typeof e=="string"){if(typeof o[e]>"u")throw new TypeError(`No method named "${e}"`);o[e]()}})}}be.on(document,kin,Ij,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();for(const e of mt.getMultipleElementsFromSelector(this))oS.getOrCreateInstance(e,{toggle:!1}).toggle()});rl(oS);const nhe="dropdown",$in="bs.dropdown",FC=`.${$in}`,yG=".data-api",Vin="Escape",ohe="Tab",Min="ArrowUp",rhe="ArrowDown",Oin=2,Iin=`hide${FC}`,Pin=`hidden${FC}`,Win=`show${FC}`,Hin=`shown${FC}`,mVe=`click${FC}${yG}`,fVe=`keydown${FC}${yG}`,zin=`keyup${FC}${yG}`,a0="show",jin="dropup",Uin="dropend",Kin="dropstart",qin="dropup-center",Jin="dropdown-center",pp='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Gin=`${pp}.${a0}`,SD=".dropdown-menu",Yin=".navbar",Xin=".navbar-nav",Qin=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Zin=Ya()?"top-end":"top-start",esn=Ya()?"top-start":"top-end",tsn=Ya()?"bottom-end":"bottom-start",nsn=Ya()?"bottom-start":"bottom-end",osn=Ya()?"left-start":"right-start",rsn=Ya()?"right-start":"left-start",isn="top",ssn="bottom",asn={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},lsn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Du extends ql{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=mt.next(this._element,SD)[0]||mt.prev(this._element,SD)[0]||mt.findOne(SD,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return asn}static get DefaultType(){return lsn}static get NAME(){return nhe}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Am(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!be.trigger(this._element,Win,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Xin))for(const n of[].concat(...document.body.children))be.on(n,"mouseover",q$);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(a0),this._element.classList.add(a0),be.trigger(this._element,Hin,e)}}hide(){if(Am(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!be.trigger(this._element,Iin,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))be.off(n,"mouseover",q$);this._popper&&this._popper.destroy(),this._menu.classList.remove(a0),this._element.classList.remove(a0),this._element.setAttribute("aria-expanded","false"),sd.removeDataAttribute(this._menu,"popper"),be.trigger(this._element,Pin,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!id(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${nhe.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Y$e>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let e=this._element;this._config.reference==="parent"?e=this._parent:id(this._config.reference)?e=Dm(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const n=this._getPopperConfig();this._popper=pG(e,this._menu,n)}_isShown(){return this._menu.classList.contains(a0)}_getPlacement(){const e=this._parent;if(e.classList.contains(Uin))return osn;if(e.classList.contains(Kin))return rsn;if(e.classList.contains(qin))return isn;if(e.classList.contains(Jin))return ssn;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(jin)?n?esn:Zin:n?nsn:tsn}_detectNavbar(){return this._element.closest(Yin)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(sd.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Xi(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:n}){const o=mt.find(Qin,this._menu).filter(r=>Uv(r));o.length&&gG(o,n,e===rhe,!o.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const n=Du.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}static clearMenus(e){if(e.button===Oin||e.type==="keyup"&&e.key!==ohe)return;const n=mt.find(Gin);for(const o of n){const r=Du.getInstance(o);if(!r||r._config.autoClose===!1)continue;const i=e.composedPath(),s=i.includes(r._menu);if(i.includes(r._element)||r._config.autoClose==="inside"&&!s||r._config.autoClose==="outside"&&s||r._menu.contains(e.target)&&(e.type==="keyup"&&e.key===ohe||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:r._element};e.type==="click"&&(a.clickEvent=e),r._completeHide(a)}}static dataApiKeydownHandler(e){const n=/input|textarea/i.test(e.target.tagName),o=e.key===Vin,r=[Min,rhe].includes(e.key);if(!r&&!o||n&&!o)return;e.preventDefault();const i=this.matches(pp)?this:mt.prev(this,pp)[0]||mt.next(this,pp)[0]||mt.findOne(pp,e.delegateTarget.parentNode),s=Du.getOrCreateInstance(i);if(r){e.stopPropagation(),s.show(),s._selectMenuItem(e);return}s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}be.on(document,fVe,pp,Du.dataApiKeydownHandler);be.on(document,fVe,SD,Du.dataApiKeydownHandler);be.on(document,mVe,Du.clearMenus);be.on(document,zin,Du.clearMenus);be.on(document,mVe,pp,function(t){t.preventDefault(),Du.getOrCreateInstance(this).toggle()});rl(Du);const pVe="backdrop",usn="fade",ihe="show",she=`mousedown.bs.${pVe}`,csn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},dsn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class gVe extends Ck{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return csn}static get DefaultType(){return dsn}static get NAME(){return pVe}show(e){if(!this._config.isVisible){Xi(e);return}this._append();const n=this._getElement();this._config.isAnimated&&gk(n),n.classList.add(ihe),this._emulateAnimation(()=>{Xi(e)})}hide(e){if(!this._config.isVisible){Xi(e);return}this._getElement().classList.remove(ihe),this._emulateAnimation(()=>{this.dispose(),Xi(e)})}dispose(){this._isAppended&&(be.off(this._element,she),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(usn),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Dm(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),be.on(e,she,()=>{Xi(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){tVe(e,this._getElement(),this._config.isAnimated)}}const hsn="focustrap",msn="bs.focustrap",G$=`.${msn}`,fsn=`focusin${G$}`,psn=`keydown.tab${G$}`,gsn="Tab",Csn="forward",ahe="backward",ysn={autofocus:!0,trapElement:null},bsn={autofocus:"boolean",trapElement:"element"};class CVe extends Ck{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ysn}static get DefaultType(){return bsn}static get NAME(){return hsn}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),be.off(document,G$),be.on(document,fsn,e=>this._handleFocusin(e)),be.on(document,psn,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,be.off(document,G$))}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const o=mt.focusableChildren(n);o.length===0?n.focus():this._lastTabNavDirection===ahe?o[o.length-1].focus():o[0].focus()}_handleKeydown(e){e.key===gsn&&(this._lastTabNavDirection=e.shiftKey?ahe:Csn)}}const lhe=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",uhe=".sticky-top",Z_="padding-right",che="margin-right";class Pj{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Z_,n=>n+e),this._setElementAttributes(lhe,Z_,n=>n+e),this._setElementAttributes(uhe,che,n=>n-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Z_),this._resetElementAttributes(lhe,Z_),this._resetElementAttributes(uhe,che)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,n,o){const r=this.getWidth(),i=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+r)return;this._saveInitialAttribute(s,n);const a=window.getComputedStyle(s).getPropertyValue(n);s.style.setProperty(n,`${o(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,n){const o=e.style.getPropertyValue(n);o&&sd.setDataAttribute(e,n,o)}_resetElementAttributes(e,n){const o=r=>{const i=sd.getDataAttribute(r,n);if(i===null){r.style.removeProperty(n);return}sd.removeDataAttribute(r,n),r.style.setProperty(n,i)};this._applyManipulationCallback(e,o)}_applyManipulationCallback(e,n){if(id(e)){n(e);return}for(const o of mt.find(e,this._element))n(o)}}const vsn="modal",Tsn="bs.modal",Xa=`.${Tsn}`,xsn=".data-api",Fsn="Escape",wsn=`hide${Xa}`,Ssn=`hidePrevented${Xa}`,yVe=`hidden${Xa}`,bVe=`show${Xa}`,ksn=`shown${Xa}`,Esn=`resize${Xa}`,_sn=`click.dismiss${Xa}`,Rsn=`mousedown.dismiss${Xa}`,Dsn=`keydown.dismiss${Xa}`,Asn=`click${Xa}${xsn}`,dhe="modal-open",Nsn="fade",hhe="show",uH="modal-static",Bsn=".modal.show",Lsn=".modal-dialog",$sn=".modal-body",Vsn='[data-bs-toggle="modal"]',Msn={backdrop:!0,focus:!0,keyboard:!0},Osn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class iv extends ql{constructor(e,n){super(e,n),this._dialog=mt.findOne(Lsn,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Pj,this._addEventListeners()}static get Default(){return Msn}static get DefaultType(){return Osn}static get NAME(){return vsn}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||be.trigger(this._element,bVe,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(dhe),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||be.trigger(this._element,wsn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(hhe),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){be.off(window,Xa),be.off(this._dialog,Xa),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new gVe({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new CVe({trapElement:this._element})}_showElement(e){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 n=mt.findOne($sn,this._dialog);n&&(n.scrollTop=0),gk(this._element),this._element.classList.add(hhe);const o=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,be.trigger(this._element,ksn,{relatedTarget:e})};this._queueCallback(o,this._dialog,this._isAnimated())}_addEventListeners(){be.on(this._element,Dsn,e=>{if(e.key===Fsn){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),be.on(window,Esn,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),be.on(this._element,Rsn,e=>{be.one(this._element,_sn,n=>{if(!(this._element!==e.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}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(dhe),this._resetAdjustments(),this._scrollBar.reset(),be.trigger(this._element,yVe)})}_isAnimated(){return this._element.classList.contains(Nsn)}_triggerBackdropTransition(){if(be.trigger(this._element,Ssn).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(uH)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(uH),this._queueCallback(()=>{this._element.classList.remove(uH),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),o=n>0;if(o&&!e){const r=Ya()?"paddingLeft":"paddingRight";this._element.style[r]=`${n}px`}if(!o&&e){const r=Ya()?"paddingRight":"paddingLeft";this._element.style[r]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,n){return this.each(function(){const o=iv.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof o[e]>"u")throw new TypeError(`No method named "${e}"`);o[e](n)}})}}be.on(document,Asn,Vsn,function(t){const e=mt.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),be.one(e,bVe,o=>{o.defaultPrevented||be.one(e,yVe,()=>{Uv(this)&&this.focus()})});const n=mt.findOne(Bsn);n&&iv.getInstance(n).hide(),iv.getOrCreateInstance(e).toggle(this)});wO(iv);rl(iv);const Isn="offcanvas",Psn="bs.offcanvas",Wd=`.${Psn}`,vVe=".data-api",Wsn=`load${Wd}${vVe}`,Hsn="Escape",mhe="show",fhe="showing",phe="hiding",zsn="offcanvas-backdrop",TVe=".offcanvas.show",jsn=`show${Wd}`,Usn=`shown${Wd}`,Ksn=`hide${Wd}`,ghe=`hidePrevented${Wd}`,xVe=`hidden${Wd}`,qsn=`resize${Wd}`,Jsn=`click${Wd}${vVe}`,Gsn=`keydown.dismiss${Wd}`,Ysn='[data-bs-toggle="offcanvas"]',Xsn={backdrop:!0,keyboard:!0,scroll:!1},Qsn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Nm extends ql{constructor(e,n){super(e,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Xsn}static get DefaultType(){return Qsn}static get NAME(){return Isn}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||be.trigger(this._element,jsn,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Pj().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(fhe);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(mhe),this._element.classList.remove(fhe),be.trigger(this._element,Usn,{relatedTarget:e})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown||be.trigger(this._element,Ksn).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(phe),this._backdrop.hide();const e=()=>{this._element.classList.remove(mhe,phe),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Pj().reset(),be.trigger(this._element,xVe)};this._queueCallback(e,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){be.trigger(this._element,ghe);return}this.hide()},n=!!this._config.backdrop;return new gVe({className:zsn,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new CVe({trapElement:this._element})}_addEventListeners(){be.on(this._element,Gsn,e=>{if(e.key===Hsn){if(this._config.keyboard){this.hide();return}be.trigger(this._element,ghe)}})}static jQueryInterface(e){return this.each(function(){const n=Nm.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}be.on(document,Jsn,Ysn,function(t){const e=mt.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Am(this))return;be.one(e,xVe,()=>{Uv(this)&&this.focus()});const n=mt.findOne(TVe);n&&n!==e&&Nm.getInstance(n).hide(),Nm.getOrCreateInstance(e).toggle(this)});be.on(window,Wsn,()=>{for(const t of mt.find(TVe))Nm.getOrCreateInstance(t).show()});be.on(window,qsn,()=>{for(const t of mt.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&Nm.getOrCreateInstance(t).hide()});wO(Nm);rl(Nm);const Zsn=/^aria-[\w-]*$/i,FVe={"*":["class","dir","id","lang","role",Zsn],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ean=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),tan=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,nan=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?ean.has(n)?!!tan.test(t.nodeValue):!0:e.filter(o=>o instanceof RegExp).some(o=>o.test(n))};function oan(t,e,n){if(!t.length)return t;if(n&&typeof n=="function")return n(t);const o=new window.DOMParser().parseFromString(t,"text/html"),r=[].concat(...o.body.querySelectorAll("*"));for(const i of r){const s=i.nodeName.toLowerCase();if(!Object.keys(e).includes(s)){i.remove();continue}const a=[].concat(...i.attributes),l=[].concat(e["*"]||[],e[s]||[]);for(const u of a)nan(u,l)||i.removeAttribute(u.nodeName)}return o.body.innerHTML}const ran="TemplateFactory",ian={allowList:FVe,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},san={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},aan={entry:"(string|element|function|null)",selector:"(string|element)"};class lan extends Ck{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return ian}static get DefaultType(){return san}static get NAME(){return ran}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[r,i]of Object.entries(this._config.content))this._setContent(e,i,r);const n=e.children[0],o=this._resolvePossibleFunction(this._config.extraClass);return o&&n.classList.add(...o.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[n,o]of Object.entries(e))super._typeCheckConfig({selector:n,entry:o},aan)}_setContent(e,n,o){const r=mt.findOne(o,e);if(r){if(n=this._resolvePossibleFunction(n),!n){r.remove();return}if(id(n)){this._putElementInTemplate(Dm(n),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(n);return}r.textContent=n}}_maybeSanitize(e){return this._config.sanitize?oan(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Xi(e,[void 0,this])}_putElementInTemplate(e,n){if(this._config.html){n.innerHTML="",n.append(e);return}n.textContent=e.textContent}}const uan="tooltip",can=new Set(["sanitize","allowList","sanitizeFn"]),cH="fade",dan="modal",eR="show",han=".tooltip-inner",Che=`.${dan}`,yhe="hide.bs.modal",X1="hover",dH="focus",hH="click",man="manual",fan="hide",pan="hidden",gan="show",Can="shown",yan="inserted",ban="click",van="focusin",Tan="focusout",xan="mouseenter",Fan="mouseleave",wan={AUTO:"auto",TOP:"top",RIGHT:Ya()?"left":"right",BOTTOM:"bottom",LEFT:Ya()?"right":"left"},San={allowList:FVe,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"},kan={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 qv extends ql{constructor(e,n){if(typeof Y$e>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(e,n),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 San}static get DefaultType(){return kan}static get NAME(){return uan}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),be.off(this._element.closest(Che),yhe,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=be.trigger(this._element,this.constructor.eventName(gan)),n=(Z$e(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!n)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(o),be.trigger(this._element,this.constructor.eventName(yan))),this._popper=this._createPopper(o),o.classList.add(eR),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))be.on(s,"mouseover",q$);const i=()=>{be.trigger(this._element,this.constructor.eventName(Can)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(i,this.tip,this._isAnimated())}hide(){if(!this._isShown()||be.trigger(this._element,this.constructor.eventName(fan)).defaultPrevented)return;if(this._getTipElement().classList.remove(eR),"ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))be.off(n,"mouseover",q$);this._activeTrigger[hH]=!1,this._activeTrigger[dH]=!1,this._activeTrigger[X1]=!1,this._isHovered=null;const e=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),be.trigger(this._element,this.constructor.eventName(pan)))};this._queueCallback(e,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(e){const n=this._getTemplateFactory(e).toHtml();if(!n)return null;n.classList.remove(cH,eR),n.classList.add(`bs-${this.constructor.NAME}-auto`);const o=mrn(this.constructor.NAME).toString();return n.setAttribute("id",o),this._isAnimated()&&n.classList.add(cH),n}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new lan({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[han]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(cH)}_isShown(){return this.tip&&this.tip.classList.contains(eR)}_createPopper(e){const n=Xi(this._config.placement,[this,e,this._element]),o=wan[n.toUpperCase()];return pG(this._element,e,this._getPopperConfig(o))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_resolvePossibleFunction(e){return Xi(e,[this._element,this._element])}_getPopperConfig(e){const n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:o=>{this._getTipElement().setAttribute("data-popper-placement",o.state.placement)}}]};return{...n,...Xi(this._config.popperConfig,[void 0,n])}}_setListeners(){const e=this._config.trigger.split(" ");for(const n of e)if(n==="click")be.on(this._element,this.constructor.eventName(ban),this._config.selector,o=>{const r=this._initializeOnDelegatedTarget(o);r._activeTrigger[hH]=!(r._isShown()&&r._activeTrigger[hH]),r.toggle()});else if(n!==man){const o=n===X1?this.constructor.eventName(xan):this.constructor.eventName(van),r=n===X1?this.constructor.eventName(Fan):this.constructor.eventName(Tan);be.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?dH:X1]=!0,s._enter()}),be.on(this._element,r,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?dH:X1]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},be.on(this._element.closest(Che),yhe,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}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(e,n){clearTimeout(this._timeout),this._timeout=setTimeout(e,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const n=sd.getDataAttributes(this._element);for(const o of Object.keys(n))can.has(o)&&delete n[o];return e={...n,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:Dm(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[n,o]of Object.entries(this._config))this.constructor.Default[n]!==o&&(e[n]=o);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const n=qv.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}rl(qv);const Ean="popover",_an=".popover-header",Ran=".popover-body",Dan={...qv.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"},Aan={...qv.DefaultType,content:"(null|string|element|function)"};class bG extends qv{static get Default(){return Dan}static get DefaultType(){return Aan}static get NAME(){return Ean}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[_an]:this._getTitle(),[Ran]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const n=bG.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}rl(bG);const Nan="scrollspy",Ban="bs.scrollspy",vG=`.${Ban}`,Lan=".data-api",$an=`activate${vG}`,bhe=`click${vG}`,Van=`load${vG}${Lan}`,Man="dropdown-item",ly="active",Oan='[data-bs-spy="scroll"]',mH="[href]",Ian=".nav, .list-group",vhe=".nav-link",Pan=".nav-item",Wan=".list-group-item",Han=`${vhe}, ${Pan} > ${vhe}, ${Wan}`,zan=".dropdown",jan=".dropdown-toggle",Uan={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Kan={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};let wVe=class SVe extends ql{constructor(e,n){super(e,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Uan}static get DefaultType(){return Kan}static get NAME(){return Nan}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=Dm(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(n=>Number.parseFloat(n))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(be.off(this._config.target,bhe),be.on(this._config.target,bhe,mH,e=>{const n=this._observableSections.get(e.target.hash);if(n){e.preventDefault();const o=this._rootElement||window,r=n.offsetTop-this._element.offsetTop;if(o.scrollTo){o.scrollTo({top:r,behavior:"smooth"});return}o.scrollTop=r}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),e)}_observerCallback(e){const n=s=>this._targetLinks.get(`#${s.target.id}`),o=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(n(s))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(s));continue}const a=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(o(s),!r)return;continue}!i&&!a&&o(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=mt.find(mH,this._config.target);for(const n of e){if(!n.hash||Am(n))continue;const o=mt.findOne(decodeURI(n.hash),this._element);Uv(o)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,o))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ly),this._activateParents(e),be.trigger(this._element,$an,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Man)){mt.findOne(jan,e.closest(zan)).classList.add(ly);return}for(const n of mt.parents(e,Ian))for(const o of mt.prev(n,Han))o.classList.add(ly)}_clearActiveClass(e){e.classList.remove(ly);const n=mt.find(`${mH}.${ly}`,e);for(const o of n)o.classList.remove(ly)}static jQueryInterface(e){return this.each(function(){const n=SVe.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}};be.on(window,Van,()=>{for(const t of mt.find(Oan))wVe.getOrCreateInstance(t)});rl(wVe);const qan="tab",Jan="bs.tab",wC=`.${Jan}`,Gan=`hide${wC}`,Yan=`hidden${wC}`,Xan=`show${wC}`,Qan=`shown${wC}`,Zan=`click${wC}`,eln=`keydown${wC}`,tln=`load${wC}`,nln="ArrowLeft",The="ArrowRight",oln="ArrowUp",xhe="ArrowDown",fH="Home",Fhe="End",gp="active",whe="fade",pH="show",rln="dropdown",kVe=".dropdown-toggle",iln=".dropdown-menu",gH=`:not(${kVe})`,sln='.list-group, .nav, [role="tablist"]',aln=".nav-item, .list-group-item",lln=`.nav-link${gH}, .list-group-item${gH}, [role="tab"]${gH}`,EVe='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',CH=`${lln}, ${EVe}`,uln=`.${gp}[data-bs-toggle="tab"], .${gp}[data-bs-toggle="pill"], .${gp}[data-bs-toggle="list"]`;class sv extends ql{constructor(e){super(e),this._parent=this._element.closest(sln),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),be.on(this._element,eln,n=>this._keydown(n)))}static get NAME(){return qan}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),o=n?be.trigger(n,Gan,{relatedTarget:e}):null;be.trigger(e,Xan,{relatedTarget:n}).defaultPrevented||o&&o.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,n){if(!e)return;e.classList.add(gp),this._activate(mt.getElementFromSelector(e));const o=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(pH);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),be.trigger(e,Qan,{relatedTarget:n})};this._queueCallback(o,e,e.classList.contains(whe))}_deactivate(e,n){if(!e)return;e.classList.remove(gp),e.blur(),this._deactivate(mt.getElementFromSelector(e));const o=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(pH);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),be.trigger(e,Yan,{relatedTarget:n})};this._queueCallback(o,e,e.classList.contains(whe))}_keydown(e){if(![nln,The,oln,xhe,fH,Fhe].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=this._getChildren().filter(r=>!Am(r));let o;if([fH,Fhe].includes(e.key))o=n[e.key===fH?0:n.length-1];else{const r=[The,xhe].includes(e.key);o=gG(n,e.target,r,!0)}o&&(o.focus({preventScroll:!0}),sv.getOrCreateInstance(o).show())}_getChildren(){return mt.find(CH,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,n){this._setAttributeIfNotExists(e,"role","tablist");for(const o of n)this._setInitialAttributesOnChild(o)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const n=this._elemIsActive(e),o=this._getOuterElement(e);e.setAttribute("aria-selected",n),o!==e&&this._setAttributeIfNotExists(o,"role","presentation"),n||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const n=mt.getElementFromSelector(e);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,n){const o=this._getOuterElement(e);if(!o.classList.contains(rln))return;const r=(i,s)=>{const a=mt.findOne(i,o);a&&a.classList.toggle(s,n)};r(kVe,gp),r(iln,pH),o.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,n,o){e.hasAttribute(n)||e.setAttribute(n,o)}_elemIsActive(e){return e.classList.contains(gp)}_getInnerElement(e){return e.matches(CH)?e:mt.findOne(CH,e)}_getOuterElement(e){return e.closest(aln)||e}static jQueryInterface(e){return this.each(function(){const n=sv.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}be.on(document,Zan,EVe,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!Am(this)&&sv.getOrCreateInstance(this).show()});be.on(window,tln,()=>{for(const t of mt.find(uln))sv.getOrCreateInstance(t)});rl(sv);const cln="toast",dln="bs.toast",Ff=`.${dln}`,hln=`mouseover${Ff}`,mln=`mouseout${Ff}`,fln=`focusin${Ff}`,pln=`focusout${Ff}`,gln=`hide${Ff}`,Cln=`hidden${Ff}`,yln=`show${Ff}`,bln=`shown${Ff}`,vln="fade",She="hide",tR="show",nR="showing",Tln={animation:"boolean",autohide:"boolean",delay:"number"},xln={animation:!0,autohide:!0,delay:5e3};class EO extends ql{constructor(e,n){super(e,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return xln}static get DefaultType(){return Tln}static get NAME(){return cln}show(){if(be.trigger(this._element,yln).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(vln);const e=()=>{this._element.classList.remove(nR),be.trigger(this._element,bln),this._maybeScheduleHide()};this._element.classList.remove(She),gk(this._element),this._element.classList.add(tR,nR),this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown()||be.trigger(this._element,gln).defaultPrevented)return;const e=()=>{this._element.classList.add(She),this._element.classList.remove(nR,tR),be.trigger(this._element,Cln)};this._element.classList.add(nR),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(tR),super.dispose()}isShown(){return this._element.classList.contains(tR)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,n){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const o=e.relatedTarget;this._element===o||this._element.contains(o)||this._maybeScheduleHide()}_setListeners(){be.on(this._element,hln,e=>this._onInteraction(e,!0)),be.on(this._element,mln,e=>this._onInteraction(e,!1)),be.on(this._element,fln,e=>this._onInteraction(e,!0)),be.on(this._element,pln,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const n=EO.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}wO(EO);rl(EO);const Fln=["Arial","Georgia","Tahoma","TimesNewRoman","Verdana"];Pd.create({name:"textTransform",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{textTransform:{default:"none",parseHTML:t=>t.style.textTransform,renderHTML:t=>t.textTransform?{style:`text-transform: ${t.textTransform}`}:{}}}}]},addCommands(){return{setTextTransform:t=>({chain:e})=>e().setMark("textStyle",{textTransform:t}).run(),unsetTextTransform:()=>({chain:t,state:e})=>{const{from:n,to:o,$from:r}=e.selection;return e.doc.textBetween(n,o," ").length?t().setMark("textStyle",{textTransform:"none"}).run():t().setTextSelection({from:r.pos-r.nodeBefore.nodeSize,to:r.pos+r.nodeAfter.nodeSize}).setMark("textStyle",{textTransform:"none"}).focus().run()}}},addKeyboardShortcuts(){const t=e=>e.isUppercase?this.editor.commands.unsetTextTransform():this.editor.commands.setTextTransform("uppercase");return{"Mod-Shift-u":()=>{const e=this.editor.isActive("textStyle",{textTransform:"uppercase"});return t({isUppercase:e})},"Mod-Shift-U":()=>{const e=this.editor.isActive("textStyle",{textTransform:"uppercase"});return t({isUppercase:e})}}}});Pd.create({name:"fontSize",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:null,parseHTML:t=>t.style.fontSize.replace(/['"]+/g,""),renderHTML:t=>t.fontSize?{style:`font-size: ${t.fontSize}`}:{}}}}]},addCommands(){return{setFontSize:t=>({chain:e})=>e().setMark("textStyle",{fontSize:t+"px"}).run(),unsetFontSize:()=>({chain:t})=>t().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()}}});Pd.create({name:"lineHeight",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{lineHeight:{default:null,parseHTML:t=>t.style.lineHeight.replace(/['"]+/g,""),renderHTML:t=>t.lineHeight?{style:`line-height: ${t.lineHeight}`}:{}}}}]},addCommands(){return{setLineHeight:t=>({chain:e})=>e().setMark("textStyle",{lineHeight:t+"px"}).run(),resetLineHeight:()=>({chain:t})=>t().setMark("textStyle",{lineHeight:null}).run()}}});Pd.create({name:"fontWeight",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontWeight:{default:null,parseHTML:t=>t.style.fontWeight,renderHTML:t=>t.fontWeight?{style:`font-weight: ${t.fontWeight}`}:{}}}}]},addCommands(){return{setFontWeight:t=>({chain:e})=>e().setMark("textStyle",{fontWeight:t}).run(),unsetFontWeight:()=>({chain:t,state:e})=>{const{from:n,to:o,$from:r}=e.selection;return e.doc.textBetween(n,o," ").length?t().setMark("textStyle",{fontWeight:"normal"}).run():t().setTextSelection({from:r.pos-r.nodeBefore.nodeSize,to:r.pos+r.nodeAfter.nodeSize}).setMark("textStyle",{fontWeight:"normal"}).focus().run()},resetFontWeight:()=>({chain:t})=>t().setMark("textStyle",{fontWeight:null}).removeEmptyTextStyle().run()}},addKeyboardShortcuts(){const t=e=>e.isBold?this.editor.commands.unsetFontWeight():this.editor.commands.setFontWeight("bold");return{"Mod-b":()=>{const e=this.editor.isActive("textStyle",{fontWeight:"bold"});return t({isBold:e})},"Mod-B":()=>{const e=this.editor.isActive("textStyle",{fontWeight:"bold"});return t({isBold:e})}}}});Pd.create({name:"fontStyle",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontStyle:{default:null,parseHTML:t=>t.style.fontStyle,renderHTML:t=>t.fontStyle?{style:`font-style: ${t.fontStyle}`}:{}}}}]},addCommands(){return{setFontStyle:t=>({chain:e})=>e().setMark("textStyle",{fontStyle:t}).run(),unsetFontStyle:()=>({chain:t,state:e})=>{const{from:n,to:o,$from:r}=e.selection;return e.doc.textBetween(n,o," ").length?t().setMark("textStyle",{fontStyle:"normal"}).run():t().setTextSelection({from:r.pos-r.nodeBefore.nodeSize,to:r.pos+r.nodeAfter.nodeSize}).setMark("textStyle",{fontStyle:"normal"}).focus().run()},resetFontStyle:()=>({chain:t})=>t().setMark("textStyle",{fontStyle:null}).removeEmptyTextStyle().run()}},addKeyboardShortcuts(){const t=e=>e.isItalic?this.editor.commands.unsetFontStyle():this.editor.commands.setFontStyle("italic");return{"Mod-i":()=>{const e=this.editor.isActive("textStyle",{fontStyle:"italic"});return t({isItalic:e})},"Mod-I":()=>{const e=this.editor.isActive("textStyle",{fontStyle:"italic"});return t({isItalic:e})}}}});Pd.create({name:"unsubscribeLink",priority:1e3,addOptions(){return{HTMLAttributes:{"data-type":"unsubscribe-link",class:"rich-text__unsubscribe-link"}}},parseHTML(){return[{tag:'span[data-type="unsubscribe-link"]'}]},renderHTML({HTMLAttributes:t}){return["span",Ys(this.options.HTMLAttributes,t),0]},addCommands(){return{setUnsubscribeLink:()=>({chain:t})=>t().setMark("unsubscribeLink").focus().run(),unsetUnsubscribeLink:()=>({chain:t,state:e})=>{const{from:n,to:o}=e.selection,r=e.doc.textBetween(n,o," ");return e.doc.nodeAt(n)?.type.name==="image"?t().unsetMark("unsubscribeLink").focus().run():r.length?t().setTextSelection({from:n,to:n+r.length}).unsetMark("unsubscribeLink").focus().run():t().unsetMark("unsubscribeLink",{extendEmptyMarkRange:!0}).focus().run()}}}});Pd.create({name:"textDecoration",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{textDecoration:{parseHTML:t=>t.style.textDecoration,renderHTML:t=>t.textDecoration?{style:`text-decoration: ${t.textDecoration}`}:{}}}}]},addCommands(){return{setTextDecoration:t=>({chain:e})=>e().setMark("textStyle",{textDecoration:t}).run(),unsetTextDecoration:()=>({chain:t,state:e})=>{const{from:n,to:o,$from:r}=e.selection;return e.doc.textBetween(n,o," ").length?t().setMark("textStyle",{textDecoration:"none"}).run():t().setTextSelection({from:r.pos-r.nodeBefore.nodeSize,to:r.pos+r.nodeAfter.nodeSize}).setMark("textStyle",{textDecoration:"none"}).focus().run()}}},addKeyboardShortcuts(){const t=n=>n.isUnderline?this.editor.commands.unsetTextDecoration():this.editor.commands.setTextDecoration("underline"),e=n=>n.isLineThrough?this.editor.commands.unsetTextDecoration():this.editor.commands.setTextDecoration("line-through");return{"Mod-Shift-s":()=>{const n=this.editor.isActive("textStyle",{textDecoration:"line-through"});return e({isLineThrough:n})},"Mod-u":()=>{const n=this.editor.isActive("textStyle",{textDecoration:"underline"});return t({isUnderline:n})},"Mod-U":()=>{const n=this.editor.isActive("textStyle",{textDecoration:"underline"});return t({isUnderline:n})}}}});Dn.create({name:"fontFamily",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontFamily:{default:null,parseHTML:t=>{const e=t.style.fontFamily.split(",").map(n=>n.trim()).map(n=>n.replace(/^['"]|['"]$/g,"")).map(n=>n.replace(/ /g,""));return Fln.find(n=>e.includes(n))||null},renderHTML:t=>t.fontFamily?{style:`font-family: ${t.fontFamily}`}:{}}}}]},addCommands(){return{setFontFamily:t=>({chain:e})=>e().setMark("textStyle",{fontFamily:t}).run(),unsetFontFamily:()=>({chain:t})=>t().setMark("textStyle",{fontFamily:null}).removeEmptyTextStyle().run()}}});const wln=t=>new Promise((e,n)=>{const o=new Image;o.onload=()=>{e({width:o.naturalWidth,height:o.naturalHeight})},o.onerror=n,o.src=t});rc.create({name:"image",addOptions(){return{inline:!0,allowBase64:!1,HTMLAttributes:{}}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},width:{default:null},height:{default:null},isRetina:{default:!1}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:t}){return["img",Ys(this.options.HTMLAttributes,{src:t.src,alt:t.alt,title:t.title,width:t.isRetina?t.width/2:t.width,height:t.isRetina?t.height/2:t.height,isRetina:t.isRetina})]},addCommands(){return{setImage:t=>({commands:e})=>e.insertContent({type:this.name,attrs:t})}},addInputRules(){return[btn({find:/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,type:this.type,getAttributes:t=>{const[,,e,n,o]=t;return{src:n,alt:e,title:o}}})]},addProseMirrorPlugins(){return[new ko({view:t=>((async()=>{const{state:e,dispatch:n}=t;e.doc.descendants((o,r)=>{if(o.type.name===this.name){const{src:i,width:s,height:a}=o.attrs;i&&(!s||!a)&&wln(i).then(l=>{const u=e.tr.setNodeMarkup(r,void 0,{...o.attrs,width:l.width,height:l.height});n(u)})}})})(),{})})]}});yO();const Sln=t=>{let e={};return n=>JYt(n).Match({ProductList:({ProductIds:o,StockSource:r})=>yLt({partnerId:t.partnerId,productIDs:o,stockId:Qd({stockSource:r,customerStockId:t.customerStockId}),productCache:e,getProductsByIDsHttpClient:t.listExpressionDataSourceBffClient.postGetProductsByIds}),RelatedProductsFor:({ProductIds:o,StockSource:r})=>bLt({partnerId:t.partnerId,productIDs:o,stockId:Qd({stockSource:r,customerStockId:t.customerStockId}),getRelatedProducts:t.listExpressionDataSourceBffClient.postGetRelatedRecommendations}),AlternativeProductsFor:({ProductIds:o,StockSource:r})=>vLt({partnerId:t.partnerId,productIDs:o,stockId:Qd({stockSource:r,customerStockId:t.customerStockId}),getAlternativeProductsHttpClient:t.listExpressionDataSourceBffClient.postGetAlternativeRecommendations}),PopularProductsInCategories:({CategoryIds:o,StockSource:r})=>TLt({partnerId:t.partnerId,categoryIds:o,stockId:Qd({stockSource:r,customerStockId:t.customerStockId}),getPopularProductsInCategoriesHttpClient:t.listExpressionDataSourceBffClient.postGetPopularInCategoriesRecommendations}),Popular:({StockSource:o})=>_xt({partnerId:t.partnerId,stockId:Qd({stockSource:o,customerStockId:t.customerStockId}),getPopularProductsHttpClient:t.listExpressionDataSourceBffClient.postGetPopularRecommendations}),Latest:({StockSource:o})=>xLt({partnerId:t.partnerId,stockId:Qd({stockSource:o,customerStockId:t.customerStockId}),getLatestProductsHttpClient:t.listExpressionDataSourceBffClient.postGetLatestRecommendations}),SaleByPopular:({StockSource:o})=>FLt({partnerId:t.partnerId,stockId:Qd({stockSource:o,customerStockId:t.customerStockId}),getSaleByPopularProductsHttpClient:t.listExpressionDataSourceBffClient.postGetSaleByPopularRecommendations}),SaleByLatest:({StockSource:o})=>wLt({partnerId:t.partnerId,stockId:Qd({stockSource:o,customerStockId:t.customerStockId}),getSaleByLatestProductsHttpClient:t.listExpressionDataSourceBffClient.postGetSaleByLatestRecommendations})})},kln=()=>()=>Promise.resolve(0),Eln=t=>{const e=t.contactCustomData;return n=>qYt(n.stringExpressionDataSource).Match({StringFromContactCustomData:o=>Promise.resolve(e[o.FieldName]),StringFromContactCustomDataWithFallback:o=>Promise.resolve(o.FieldName in e&&typeof e[o.FieldName]=="string"?e[o.FieldName]:o.FallbackValue),ProductImageUrlBuilderExpression:o=>t.productImageUrlBuilderExpressionEvaluator({expression:o,context:n.context}),NextCouponFromBatch:()=>Promise.resolve("Coupon")})};var bc={},khe;function _ln(){if(khe)return bc;khe=1;var t=bc&&bc.__awaiter||function(E,A,N,I){function M($){return $ instanceof N?$:new N(function(H){H($)})}return new(N||(N=Promise))(function($,H){function ke(K){try{ve(I.next(K))}catch(Pe){H(Pe)}}function Oe(K){try{ve(I.throw(K))}catch(Pe){H(Pe)}}function ve(K){K.done?$(K.value):M(K.value).then(ke,Oe)}ve((I=I.apply(E,A||[])).next())})},e=bc&&bc.__generator||function(E,A){var N={label:0,sent:function(){if($[0]&1)throw $[1];return $[1]},trys:[],ops:[]},I,M,$,H=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return H.next=ke(0),H.throw=ke(1),H.return=ke(2),typeof Symbol=="function"&&(H[Symbol.iterator]=function(){return this}),H;function ke(ve){return function(K){return Oe([ve,K])}}function Oe(ve){if(I)throw new TypeError("Generator is already executing.");for(;H&&(H=0,ve[0]&&(N=0)),N;)try{if(I=1,M&&($=ve[0]&2?M.return:ve[0]?M.throw||(($=M.return)&&$.call(M),0):M.next)&&!($=$.call(M,ve[1])).done)return $;switch(M=0,$&&(ve=[ve[0]&2,$.value]),ve[0]){case 0:case 1:$=ve;break;case 4:return N.label++,{value:ve[1],done:!1};case 5:N.label++,M=ve[1],ve=[0];continue;case 7:ve=N.ops.pop(),N.trys.pop();continue;default:if($=N.trys,!($=$.length>0&&$[$.length-1])&&(ve[0]===6||ve[0]===2)){N=0;continue}if(ve[0]===3&&(!$||ve[1]>$[0]&&ve[1]<$[3])){N.label=ve[1];break}if(ve[0]===6&&N.label<$[1]){N.label=$[1],$=ve;break}if($&&N.label<$[2]){N.label=$[2],N.ops.push(ve);break}$[2]&&N.ops.pop(),N.trys.pop();continue}ve=A.call(E,N)}catch(K){ve=[6,K],M=0}finally{I=$=0}if(ve[0]&5)throw ve[1];return{value:ve[0]?ve[1]:void 0,done:!0}}};Object.defineProperty(bc,"__esModule",{value:!0}),bc.createApi=void 0;var n=function(E,A){return function(N){return E(N,A)}},o=function(E){return{products:E.products.map(function(A){return i(A)})}},r=function(E){return{products:E.products.map(function(A){return i(A)})}},i=function(E){return{internalId:E.internalId,externalId:E.externalId,name:E.name,description:E.description,vendor:E.vendor?E.vendor:void 0,price:E.price,oldPrice:E.oldPrice,discountPercentage:E.discountPercentage?E.discountPercentage:void 0,pictureUrl:E.pictureUrl,url:E.url,parameters:E.parameters.map(function(A){return p(A)})}},s=function(E){return{recommendations:E.recommendations.map(function(A){return f(A)})}},a=function(E){return{recommendations:E.recommendations.map(function(A){return f(A)})}},l=function(E){return{recommendations:E.recommendations.map(function(A){return f(A)})}},u=function(E){return{recommendations:E.recommendations.map(function(A){return f(A)})}},c=function(E){return{recommendations:E.recommendations.map(function(A){return f(A)})}},d=function(E){return{recommendations:E.recommendations.map(function(A){return f(A)})}},h=function(E){return{recommendations:E.recommendations.map(function(A){return f(A)})}},m=function(E){return{recommendations:E.recommendations.map(function(A){return f(A)})}},f=function(E){return{internalProductId:E.internalProductId,externalProductId:E.externalProductId,name:E.name,description:E.description,vendor:E.vendor?E.vendor:void 0,price:E.price,oldPrice:E.oldPrice,discountPercentage:E.discountPercentage?E.discountPercentage:void 0,pictureUrl:E.pictureUrl,url:E.url,parameters:E.parameters.map(function(A){return p(A)})}},p=function(E){return{name:E.name,value:E.value}};function g(E,A){return t(this,void 0,void 0,function(){var N,I,M;return e(this,function($){switch($.label){case 0:return N="wysiwyg/bff/v2/listExpressionDataSource/getProductsByIds/",I=new URLSearchParams,[4,A({path:N,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(E.body),query:I.toString()})];case 1:if(M=$.sent(),M.status===200)return[2,{status:200,body:o(M.body)}];throw new Error("Unknown response")}})})}function y(E,A){return t(this,void 0,void 0,function(){var N,I,M;return e(this,function($){switch($.label){case 0:return N="wysiwyg/bff/v2/listExpressionDataSource/getPopularRecommendations/",I=new URLSearchParams,[4,A({path:N,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(E.body),query:I.toString()})];case 1:if(M=$.sent(),M.status===200)return[2,{status:200,body:s(M.body)}];throw new Error("Unknown response")}})})}function b(E,A){return t(this,void 0,void 0,function(){var N,I,M;return e(this,function($){switch($.label){case 0:return N="wysiwyg/bff/v2/listExpressionDataSource/getPopularInCategoriesRecommendations/",I=new URLSearchParams,[4,A({path:N,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(E.body),query:I.toString()})];case 1:if(M=$.sent(),M.status===200)return[2,{status:200,body:a(M.body)}];throw new Error("Unknown response")}})})}function F(E,A){return t(this,void 0,void 0,function(){var N,I,M;return e(this,function($){switch($.label){case 0:return N="wysiwyg/bff/v2/listExpressionDataSource/getRelatedRecommendations/",I=new URLSearchParams,[4,A({path:N,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(E.body),query:I.toString()})];case 1:if(M=$.sent(),M.status===200)return[2,{status:200,body:l(M.body)}];throw new Error("Unknown response")}})})}function v(E,A){return t(this,void 0,void 0,function(){var N,I,M;return e(this,function($){switch($.label){case 0:return N="wysiwyg/bff/v2/listExpressionDataSource/getAlternativeRecommendations/",I=new URLSearchParams,[4,A({path:N,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(E.body),query:I.toString()})];case 1:if(M=$.sent(),M.status===200)return[2,{status:200,body:u(M.body)}];throw new Error("Unknown response")}})})}function T(E,A){return t(this,void 0,void 0,function(){var N,I,M;return e(this,function($){switch($.label){case 0:return N="wysiwyg/bff/v2/listExpressionDataSource/getSearchRecommendations/",I=new URLSearchParams,[4,A({path:N,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(E.body),query:I.toString()})];case 1:if(M=$.sent(),M.status===200)return[2,{status:200,body:c(M.body)}];throw new Error("Unknown response")}})})}function S(E,A){return t(this,void 0,void 0,function(){var N,I,M;return e(this,function($){switch($.label){case 0:return N="wysiwyg/bff/v2/listExpressionDataSource/getLatestRecommendations/",I=new URLSearchParams,[4,A({path:N,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(E.body),query:I.toString()})];case 1:if(M=$.sent(),M.status===200)return[2,{status:200,body:d(M.body)}];throw new Error("Unknown response")}})})}function k(E,A){return t(this,void 0,void 0,function(){var N,I,M;return e(this,function($){switch($.label){case 0:return N="wysiwyg/bff/v2/listExpressionDataSource/getSaleByPopularRecommendations/",I=new URLSearchParams,[4,A({path:N,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(E.body),query:I.toString()})];case 1:if(M=$.sent(),M.status===200)return[2,{status:200,body:h(M.body)}];throw new Error("Unknown response")}})})}function R(E,A){return t(this,void 0,void 0,function(){var N,I,M;return e(this,function($){switch($.label){case 0:return N="wysiwyg/bff/v2/listExpressionDataSource/getSaleByLatestRecommendations/",I=new URLSearchParams,[4,A({path:N,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(E.body),query:I.toString()})];case 1:if(M=$.sent(),M.status===200)return[2,{status:200,body:m(M.body)}];throw new Error("Unknown response")}})})}function D(E,A){return t(this,void 0,void 0,function(){var N,I,M;return e(this,function($){switch($.label){case 0:return N="wysiwyg/bff/v2/listExpressionDataSource/getSampleProductsForPreview/",I=new URLSearchParams,[4,A({path:N,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(E.body),query:I.toString()})];case 1:if(M=$.sent(),M.status===200)return[2,{status:200,body:r(M.body)}];throw new Error("Unknown response")}})})}var V=function(E){return{postGetProductsByIds:n(g,E),postGetPopularRecommendations:n(y,E),postGetPopularInCategoriesRecommendations:n(b,E),postGetRelatedRecommendations:n(F,E),postGetAlternativeRecommendations:n(v,E),postGetSearchRecommendations:n(T,E),postGetLatestRecommendations:n(S,E),postGetSaleByPopularRecommendations:n(k,E),postGetSaleByLatestRecommendations:n(R,E),postGetSampleProductsForPreview:n(D,E)}};return bc.createApi=V,bc}var Rln=_ln();const _Ve="#app",ls=document.querySelector(_Ve),fo={partnerId:ls.getAttribute("data-partner-id"),wysiwygTemplateEditorBffBaseUrl:ls.getAttribute("data-wysiwyg-template-editor-bff-base-url"),wysiwygBffProxyBaseUrl:ls.getAttribute("data-wysiwyg-bff-proxy-base-url"),antiForgeryHeaderTokenName:ls.getAttribute("data-anti-forgery-header-token-name"),antiForgeryHeaderTokenValue:ls.getAttribute("data-anti-forgery-header-token-value"),antiForgeryFormTokenName:ls.getAttribute("data-anti-forgery-form-token-name"),antiForgeryFormTokenValue:ls.getAttribute("data-anti-forgery-form-token-value"),createEmailTemplateSubmitUrl:ls.getAttribute("data-create-email-template-submit-url"),initialEmailTemplateJson:ls.getAttribute("data-initial-welcome-sequence-template"),welcomeSequenceFavoritesTemplates:JSON.parse(ls.getAttribute("data-welcome-sequence-favorites-templates")),commonFavoritesTemplates:JSON.parse(ls.getAttribute("data-common-favorites-templates")),exitLink:ls.getAttribute("data-exit-link"),localeKey:ls.getAttribute("data-locale-key")||"en"},Dln=t=>fLt({baseUrl:t.baseUrl,antiForgeryTokenHeaderName:fo.antiForgeryHeaderTokenName,antiForgeryTokenValue:fo.antiForgeryHeaderTokenValue}),Aln=Rln.createApi(Dln({baseUrl:fo.wysiwygBffProxyBaseUrl})),RVe=t=>{const e=new FormData;e.append(fo.antiForgeryFormTokenName,fo.antiForgeryFormTokenValue),e.append("template",JSON.stringify(t.template));const n=d8e({method:"POST",action:fo.createEmailTemplateSubmitUrl,formData:e});document.body.appendChild(n),n.submit()},Nln={},Bln={BatchId:""},yH=t=>{const e=Sln({partnerId:fo.partnerId,listExpressionDataSourceBffClient:Aln,customerStockId:void 0}),n=G7e({listExpressionDataSourceEvaluator:e}),o=kln(),r=c8e({listExpressionEvaluator:n,numberExpressionDataSourceEvaluator:o}),i=e8e({listExpressionEvaluator:n,numberExpressionEvaluator:r,stringExpressionDataSourceEvaluatorFactory:()=>Eln({productImageUrlBuilderExpressionEvaluator:MYe({partnerId:fo.partnerId,numberExpressionEvaluator:r}),contactCustomData:Nln,nextCouponFromBatch:Bln})}),s=K7e({listExpressionEvaluator:n,numberExpressionEvaluator:r,stringExpressionEvaluator:i,dataStructBuilderExpressionEvaluatorFactory:u=>kQ({expressionEvaluator:u})}),a=kQ({expressionEvaluator:s}),l=g4t({localeKey:fo.localeKey});return Ext({template:t.template,templateName:t.templateName,emailTemplatePreviewTileDeps:gLt({localeKey:fo.localeKey,dataSourceFieldNameDelegate:({dataSource:u})=>mv(u).Match({StringFromContactCustomData:c=>c.FieldName,StringFromContactCustomDataWithFallback:c=>c.FallbackValue,ProductImageUrlBuilderExpression:()=>"ImageResizer",NextCouponFromBatch:()=>"Coupon"}),richTextToolbarPlugins:[SLt({richTextToolbarPluginComponent:I5t,deps:wYe({localeKey:fo.localeKey,stringExpressionBuilderPlugin:l})})],listExpressionEvaluator:n,numberExpressionEvaluator:r,stringExpressionEvaluator:i,dataStructExpressionEvaluator:a,expressionEvaluator:s,stringExpressionBuilderPlugin:l}),onFavoriteTemplateSelected:()=>{RVe({template:t.template})}})},Ehe=fo.localeKey==="ru"?y4t:C4t,DVe=QWe(FYe,{onInitialTemplateSelected:()=>{console.log("onInitialTemplateSelected"),RVe({template:fo.initialEmailTemplateJson.length?JSON.parse(fo.initialEmailTemplateJson):Ehe})},deps:mLt({localeKey:fo.localeKey,emailTemplatePreviews:{custom:[...fo.commonFavoritesTemplates.map(t=>({templateName:t.favoriteTemplateName,previewTileComponent:yH({template:JSON.parse(t.templateJson),templateName:t.favoriteTemplateName})})),...fo.welcomeSequenceFavoritesTemplates.map(t=>({templateName:t.favoriteTemplateName,previewTileComponent:yH({template:JSON.parse(t.templateJson),templateName:t.favoriteTemplateName})}))],default:[...$Ye(fo.localeKey).map(t=>({templateName:t.favoriteTemplateName,previewTileComponent:yH({template:t.defaultTemplate,templateName:t.favoriteTemplateName})}))]},initialEmailTemplate:fo.initialEmailTemplateJson.length?JSON.parse(fo.initialEmailTemplateJson):Ehe,exitLink:fo.exitLink})});DVe.use(ppe({theme:!1,directives:{ClickOutside:Yze}}));DVe.mount(_Ve)});export default Lln();
379
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@retailrocketgroup/retailrocket-create.welcome-sequence-vue-email-template-render",
3
- "version": "5.0.384700",
3
+ "version": "5.0.384767",
4
4
  "private": false
5
5
  }
package/vite.config.ts CHANGED
@@ -13,7 +13,6 @@ export default defineConfig({
13
13
  assetFileNames: 'assets/[name].[ext]',
14
14
  },
15
15
  },
16
- sourcemap: true,
17
16
  },
18
17
  plugins: [
19
18
  vue({