1(()=>{var e={910(e,t,n){"use strict";function o(e,t,n){e.preventDefault(),t.checked=!t.checked,n.setAttribute("aria-checked",t.checked?"true":"false"),t.dispatchEvent(new Event("change",{bubbles:!0}))}n.d(t,["o",0,(e,t)=>{if(!e)return;const n=e.jquery?e[0]:e;if(!n||"function"!=typeof n.querySelector)return;const a=n.querySelector(".hs-form-booleancheckbox span"),r=n.querySelector(".hs-form-booleancheckbox input[type='checkbox']"),i="popup"===t?"boolean-accessible-popup":"boolean-accessible-iframe";if(!a||!r)return;const s=document.createElement("div");s.classList.add("boolean-accessible",i),s.setAttribute("tabindex",0),s.setAttribute("role","checkbox"),s.setAttribute("aria-checked",r.checked?"true":"false"),a.insertBefore(s,a.firstChild),s.addEventListener("keydown",function(e){" "===e.key&&o(e,r,s)}),s.addEventListener("click",function(e){o(e,r,s)})}])},597(e,t,n){"use strict";var o=n(723);let a;const r=[],i=()=>{if(a=document.querySelectorAll(".topic-c2a__countdown:not([data-timestamp-trigger])"),a)for(let e=a.length-1;e>=0;e--)a[e].dataset.timestampTrigger=!0,r.push(setInterval(s,1e3,a[e]))},s=e=>{const t=parseInt(e.dataset.timestamp,10)-(new Date).getTime(),n=Math.floor(t/864e5),a=Math.floor(t%864e5/36e5),r=Math.floor(t%36e5/6e4),i=Math.floor(t%6e4/1e3),s=(0,o.__)("Inizia tra","topic-c2a");if(t>0)e.innerHTML='<span class="countdown__text">'+s+'</span> <div class="gio date-time-counter">'+n+'</div><div class="ore date-time-counter">'+a+'</div><div class="min date-time-counter">'+r+'</div><div class="sec date-time-counter">'+i+'</div><div class="clearfix"></div>';else{e.innerHTML="";const t=e.dataset.engagementPhrase;t&&(e.innerHTML=`<span class="frase-ingaggio">${t}</span>`,e.classList.remove("topic-c2a__countdown"),e.classList.add("engagement-phrase"))}};n.d(t,["A",0,()=>{document.addEventListener("topicc2a-start-timers",i),i()}])},482(e,t,n){"use strict";var o=n(910);let a,r;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){let t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});const i=(e,t,n,o=document)=>{o.addEventListener(t,function(t){let a,r=t.target||t.srcElement;for(;r&&r.matches&&r!==o&&!(a=r.matches(e));)r=r.parentElement;a&&n.call(r,t)})},s=e=>e.attributes&&e.attributes.hubspot_list_id&&window.isHubspotListDataSource?`hubspot_list_${e.attributes.hubspot_list_id.value}`:e.attributes&&e.attributes.idTopic&&"T_JOLLY"!==e.attributes.idTopic.value?"topic":"jolly",l=e=>{let t=0;const n=setInterval(function(){"undefined"!=typeof hbspt&&null!==hbspt?(clearInterval(n),hbspt.forms.create(e)):(t++,t>=5&&clearInterval(n))},2e3)},c=function(e){const{title:t="",type:n="",ctaType:o="",idCta:a="",layout:r="",hbFormId:i="",ruleSelected:s="",ruleValue:l="",targetcta:c=""}=e;if(window.dataLayer=window.dataLayer||[],"popupSelected"===n)return void window.dataLayer.push({title:t,eventType:"popupSelected",event:"pushPopup",idCta:a,layout:r,ruleSelected:s,ruleValue:l});"frame_clicks"!==n&&"frame_views"!==n||window.dataLayer.push({event:"frame_clicks"===n?"iframeHubspot_clicks":"iframeHubspot_views",frame_title:t,[n]:"frame_clicks"===n?"frame_clicked":"frame_viewed"});const d={frame_clicks:{iframe:"newsClicked",popup:"popupClicked"},frame_views:{iframe:"newsViewed",popup:"popupViewed"},form_submitted:{iframe:"iframeSubmitted",popup:"popupSubmitted"}}[n][o];if(!d)return;const u={title:t,eventType:d,event:"iframe"===o?"pushiFrame":"pushPopup",idCta:a,layout:r,hbFormId:i};"form_submitted"!==n&&"frame_views"!==n||(u.targetcta=c),window.dataLayer.push(u)},d=function(){let e;const t=document.querySelectorAll("cta-form");t.length>0&&(a=new IntersectionObserver((t,n)=>{t.forEach(t=>{t.isIntersecting&&(n.unobserve(t.target),e={title:t.target.attributes?.title?.value,idCta:t.target.attributes?.idcta?.value,layout:t.target.attributes?.layout?.value,hbFormId:t.target.attributes?.hb_form_id?.value,type:"frame_views",ctaType:t.target.attributes?.ctatype?.value,targetcta:s(t.target)},c(e))})},{threshold:.5}),r=new MutationObserver(e=>
1{e.forEach(e=>{"childList"===e.type&&e.target.id.includes("hb_form")&&(e=>{const t=e.target,n=t.querySelector('input[name="idcta"]'),o=t.querySelector('input[name="layoutcta"]'),a=e.target.parentNode.parentNode,r=a.attributes.idcta??a.attributes.id,i=a.attributes.layout,l=t.querySelector('input[name="targetcta"]');n&&r&&(n.value=r.value),o&&i&&(o.value=i.value),l&&(l.value=s(a))})(e)})}),t.forEach(e=>{a.observe(e),e.dataset.observed="true",r.observe(e,{attributes:!0,childList:!0,subtree:!0})}))},u=e=>{const{cta:t}=e?.detail;t&&(((e,t)=>{for(let n=e.length-1;n>=0;n--){const a={portalId:e[n].dataset.portalid,formId:e[n].dataset.formid,formInstanceId:e[n].dataset.forminstanceid,target:e[n].dataset.target,onFormReady:e=>{(0,o.o)(e,"iframe")},onFormSubmitted:()=>{c({title:t.attributes.title.value,ctaType:t.attributes.ctatype.value,idCta:t.attributes.idcta.value,layout:t.attributes.layout.value,hbFormId:e[n].dataset.formid,type:"form_submitted",targetcta:s(t)})}};"false"!==e[n].dataset.sfdcampaignid&&(a.sfdcCampaignId=e[n].dataset.sfdcampaignid),l(a),e[n].dataset.enabled=!0}})(t.querySelectorAll(".hb-form-wrapper[data-enabled=false]"),t),a&&r?document.querySelectorAll("cta-form:not([data-observed='true'])").forEach(e=>{a.observe(e),e.dataset.observed="true",r.observe(e,{attributes:!0,childList:!0,subtree:!0})}):d())},m=function(e){e.preventDefault();const t=this.parentNode,n=t.querySelector(".hb-form-wrapper"),o=t.shadowRoot.querySelector(".cta-footer");n&&o&&(n.classList.remove("cstm-hide"),o.classList.add("cstm-hide"))},p=function(e){const t=e.target.closest("cta-form");if(!t.attributes)return;const n={title:t.attributes.title?.value,idCta:t.attributes.idcta?.value,layout:t.attributes.layout?.value,hbFormId:t.attributes.hb_form_id?.value,type:"frame_clicks",ctaType:t.attributes.ctatype?.value};c(n)},h=function(e){const t=e.target.closest(".c2a-box"),n={title:t.querySelector(".c2a-box__title")?.innerText,idCta:t.attributes.idcta?.value,layout:t.attributes.layout?.value,hbFormId:t.attributes.hb_form_id?.value,type:"frame_clicks"};c(n)};n.d(t,["Ay",0,()=>{i(".cta-btn[href='']","click",m),i("cta-form .actions input[type='submit']","click",p),i("cta-form a[target='_blank'][href]","click",p),i(".c2a-box a[target='_blank'][href]","click",h),document.addEventListener("topicc2a-trigger-hb-creation",u),d()},"UZ",0,c,"VD",0,i,"bI",0,e=>{const t=e.target.closest(".swal2-html-container"),n=t.querySelector(".hb-form-wrapper"),o={title:t.querySelector("div[slot='title']")?.innerText,idCta:t.attributes.idcta?.value,layout:t.attributes.layoutCta?.value,hbFormId:n?.dataset?.formid??"external",type:"frame_clicks",ctaType:"popup"};c(o)}])},445(e,t,n){"use strict";n.d(t,{$2:()=>i,Ri:()=>r,SF:()=>a,iR:()=>o}),n(87),n(723),n(455),window.wp.url;const o=()=>"forumpa"===TopicC2A.testata||"fpa"===TopicC2A.testata,a=()=>{const{region:e,key:t}=site;switch(e){case"latam":return t;case"iberia":return"iberia";default:return"forumpa"===t?"fpa":"network"}},r=e=>{const t={};return document.cookie.split(";").forEach(function(e){const[n,o]=e.split("=");t[n.trim()]=o}),t[e]},i=()=>{let e=topics_associations.topic_ids.sort((e,t)=>parseInt(e,10)-parseInt(t,10)),t=topics_associations.subtopic_ids.sort((e,t)=>parseInt(e,10)-parseInt(t,10));return e=e.map(e=>`T_${e}`),t=t.map(e=>`S_${e}`),t.concat(e).join("")}},465(e){e.exports=function(){"use strict";function e(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function t(t,n){return t.get(e(t,n))}function n(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}const o={},a=e=>new Promise(t=>{if(!e)return t();const n=window.scrollX,a=window.scrollY;o.restoreFocusTimeout=setTimeout(()=>{o.previousActiveElement instanceof HTMLElement?(o.previousActiveElement.focus(),o.previousActiveElement=null):document.body&&document.body.focus(),t()},100),window.scrollTo(n,a)}),r="swal2-",i=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","to
1p-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error","draggable","dragging"].reduce((e,t)=>(e[t]=r+t,e),{}),s=["success","warning","info","question","error"].reduce((e,t)=>(e[t]=r+t,e),{}),l="SweetAlert2:",c=e=>e.charAt(0).toUpperCase()+e.slice(1),d=e=>{console.warn(`${l} ${"object"==typeof e?e.join(" "):e}`)},u=e=>{console.error(`${l} ${e}`)},m=[],p=(e,t=null)=>{var n;n=`"${e}" is deprecated and will be removed in the next major release.${t?` Use "${t}" instead.`:""}`,m.includes(n)||(m.push(n),d(n))},h=e=>"function"==typeof e?e():e,w=e=>e&&"function"==typeof e.toPromise,f=e=>w(e)?e.toPromise():Promise.resolve(e),g=e=>e&&Promise.resolve(e)===e,b=()=>document.body.querySelector(`.${i.container}`),y=e=>{const t=b();return t?t.querySelector(e):null},v=e=>y(`.${e}`),k=()=>v(i.popup),x=()=>v(i.icon),T=()=>v(i.title),E=()=>v(i["html-container"]),A=()=>v(i.image),S=()=>v(i["progress-steps"]),C=()=>v(i["validation-message"]),_=()=>y(`.${i.actions} .${i.confirm}`),L=()=>y(`.${i.actions} .${i.cancel}`),O=()=>y(`.${i.actions} .${i.deny}`),I=()=>y(`.${i.loader}`),M=()=>v(i.actions),P=()=>v(i.footer),N=()=>v(i["timer-progress-bar"]),D=()=>v(i.close),H=()=>{const e=k();if(!e)return[];const t=e.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),n=Array.from(t).sort((e,t)=>{const n=parseInt(e.getAttribute("tabindex")||"0"),o=parseInt(t.getAttribute("tabindex")||"0");return n>o?1:n<o?-1:0}),o=e.querySelectorAll('\n a[href],\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n [tabindex="0"],\n [contenteditable],\n audio[controls],\n video[controls],\n summary\n'),a=Array.from(o).filter(e=>"-1"!==e.getAttribute("tabindex"));return[...new Set(n.concat(a))].filter(e=>ee(e))},R=()=>q(document.body,i.shown)&&!q(document.body,i["toast-shown"])&&!q(document.body,i["no-backdrop"]),B=()=>{const e=k();return!!e&&q(e,i.toast)},$=(e,t)=>{if(e.textContent="",t){const n=(new DOMParser).parseFromString(t,"text/html"),o=n.querySelector("head");o&&Array.from(o.childNodes).forEach(t=>{e.appendChild(t)});const a=n.querySelector("body");a&&Array.from(a.childNodes).forEach(t=>{t instanceof HTMLVideoElement||t instanceof HTMLAudioElement?e.appendChild(t.cloneNode(!0)):e.appendChild(t)})}},q=(e,t)=>!!t&&t.split(/\s+/).every(t=>e.classList.contains(t)),z=(e,t,n)=>{if(((e,t)=>{Array.from(e.classList).forEach(n=>{Object.values(i).includes(n)||Object.values(s).includes(n)||Object.values(t.showClass||{}).includes(n)||e.classList.remove(n)})})(e,t),!t.customClass)return;const o=t.customClass[n];o&&("string"==typeof o||o.forEach?W(e,o):d(`Invalid type of customClass.${n}! Expected string or iterable object, got "${typeof o}"`))},F=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(`.${i.popup} > .${i[t]}`);case"checkbox":return e.querySelector(`.${i.popup} > .${i.checkbox} input`);case"radio":return e.querySelector(`.${i.popup} > .${i.radio} input:checked`)||e.querySelector(`.${i.popup} > .${i.radio} input:first-child`);case"range":return e.querySelector(`.${i.popup} > .${i.range} input`);default:return e.querySelector(`.${i.popup} > .${i.input}`)}},j=e=>{if(e.focus(),"file"!==e.type){const t=e.value;e.value="",e.value=t}},Y=(e,t,n)=>{if(!e||!t)return;const o="string"==typeof t?t.split(/\s+/).filter(Boolean):t;(Array.isArray(e)?e:[e]).forEach(e=>{o.forEach(t=>{n?e.classList.add(t):e.classList.remove(t)})})},W=(e,t)=>{Y(e,t,!0)},V=(e,t)=>{Y(e,t,!1)},U=(e,t)=>Array.from(e.children).find(e=>e instanceof HTMLElement&&q(e,t)),G=(e,t,n)=>{n===`${parseInt(`${n}`)}`&&(n=parseInt(n)),n||0===n?e.style.setProperty(t,"number"==typeof n?`${n}px`:n):e.style.removeProperty(t)},X=(e,t="flex")=>{e&&(e.style.display=t)},Z=e=>{e&&(e.style.display="none")},J=(e,t="block")=>{e&&new MutationObserver(()=>{K(e,e.innerHTML,t)}).observe(e,{childList:!0,subtree:!0})},Q=(e,t,n,o)=>{const a=e.querySelector(t);a&&a.style.setProperty(n,o)},K=(e,t,n="flex")=>{t?X(e,n):Z(e)},ee=e=>Boolean(e&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),te=e=>Boolean(e.scrollHeight>e.clientHeight),ne=e=>{const t=window.getComputedStyle(e),n=parseFloat(t.getPropertyValue("animation-duration")||"0"),o=parseFloat(t.getPropertyValue("transition-duration")||"0");return n>0||o>0},oe=(e,t=!1)=>{const n=N();n&&ee(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout(()=>{n.style.transition=`width ${e/1e3}s linear`,n.style.width="0%"},10))},ae=`\n <div aria-labelledby="${i.title}" aria-describedby="${i["html-container"]}" class="${i.popup}" tabindex="-1">\n <button type="button" class="${i.close}"></button>\n <ul class="${i["progress-steps"]}"></ul>\n <div class="${i.icon}"></div>\n <img class="${i.image}" />\n <h2 class="${i.title}" id="${i.title}"></h2>\n <div class="${i["html-container"]}" id="${i["html-container"]}"></div>\n <input class="${i.input}" id="${i.input}" />\n <input type="file" class="${i.file}" />\n <div class="${i.range}">\n <input type="range" />\n <output></output>\n </div>\n <select class="${i.select}" id="${i.select}"></select>\n <div class="${i.radio}"></div>\n <label class="${i.checkbox}">\n <input type="checkbox" id="${i.checkbox}" />\n <span class="${i.label}"></span>\n </label>\n <textarea class="${i.textarea}" id="${i.textarea}"></textarea>\n <div class="${i["validation-message"]}" id="${i["validation-message"]}"></div>\n <div class="${i.actions}">\n <div class="${i.loader}"></div>\n <button type="button" class="${i.confirm}"></button>\n <button type="button" class="${i.deny}"></button>\n <button type="button" class="${i.cancel}"></button>\n </div>\n <div class="${i.footer}"></div>\n <div class="${i["timer-progress-bar-container"]}">\n <div class="${i["timer-progress-bar"]}"></div>\n </div>\n </div>\n`.replace(/(^|\n)\s*/g,""),re=()=>{o.currentInstance&&o.currentInstance.resetValidationMessage()},ie=e=>{const t=(()=>{const e=b();return!!e&&(e.remove(),V([document.documentElement,document.body],[i["no-backdrop"],i["toast-shown"],i["has-column"]]),!0)})();if("undefined"==typeof window||"undefined"==typeof document)return void u("SweetAlert2 requires document to initialize");const n=document.createElement("div");n.className=i.container,t&&W(n,i["no-transition"]),$(n,ae),n.dataset.swal2Theme=e.theme;const a=(e=>{if("string"==typeof e){const t=document.querySelector(e);
vendor: 42,091 bytes, line 1
1if(!t)throw new Error(`Target element "${e}" not found`);return t}return e})(e.target||"body");a.appendChild(n),e.topLayer&&(n.setAttribute("popover",""),n.showPopover()),(e=>{const t=k();t&&(t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true"))})(e),(e=>{"rtl"===window.getComputedStyle(e).direction&&(W(b(),i.rtl),o.isRTL=!0)})(a),(()=>{const e=k();if(!e)return;const t=U(e,i.input),n=U(e,i.file),o=e.querySelector(`.${i.range} input`),a=e.querySelector(`.${i.range} output`),r=U(e,i.select),s=e.querySelector(`.${i.checkbox} input`),l=U(e,i.textarea);t&&(t.oninput=re),n&&(n.onchange=re),r&&(r.onchange=re),s&&(s.onchange=re),l&&(l.oninput=re),o&&a&&(o.oninput=()=>{re(),a.value=o.value},o.onchange=()=>{re(),a.value=o.value})})()},se=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):"object"==typeof e?le(e,t):e&&$(t,e)},le=(e,t)=>{"jquery"in e?ce(t,e):$(t,e.toString())},ce=(e,t)=>{if(e.textContent="",0 in t)for(let n=0;n in t;n++)e.appendChild(t[n].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},de=(e,t)=>{const n=M(),o=I();n&&o&&(t.showConfirmButton||t.showDenyButton||t.showCancelButton?X(n):Z(n),z(n,t,"actions"),function(e,t,n){const o=_(),a=O(),r=L();o&&a&&r&&(ue(o,"confirm",n),ue(a,"deny",n),ue(r,"cancel",n),function(e,t,n,o){o.buttonsStyling?(W([e,t,n],i.styled),[[e,"confirm",o.confirmButtonColor],[t,"deny",o.denyButtonColor],[n,"cancel",o.cancelButtonColor]].forEach(([e,t,n])=>{n&&e.style.setProperty(`--swal2-${t}-button-background-color`,n),function(e){const t=window.getComputedStyle(e);if(t.getPropertyValue("--swal2-action-button-focus-box-shadow"))return;const n=t.backgroundColor.replace(/rgba?\((\d+), (\d+), (\d+).*/,"rgba($1, $2, $3, 0.5)");e.style.setProperty("--swal2-action-button-focus-box-shadow",t.getPropertyValue("--swal2-outline").replace(/ rgba\(.*/,` ${n}`))}(e)})):V([e,t,n],i.styled)}(o,a,r,n),n.reverseButtons&&(n.toast?(e.insertBefore(r,o),e.insertBefore(a,o)):(e.insertBefore(r,t),e.insertBefore(a,t),e.insertBefore(o,t))))}(n,o,t),$(o,t.loaderHtml||""),z(o,t,"loader"))};function ue(e,t,n){const o=c(t);K(e,n[`show${o}Button`],"inline-block"),$(e,n[`${t}ButtonText`]||""),e.setAttribute("aria-label",n[`${t}ButtonAriaLabel`]||""),e.className=i[t],z(e,n,`${t}Button`)}const me=(e,t)=>{const n=b();n&&(function(e,t){"string"==typeof t?e.style.background=t:t||W([document.documentElement,document.body],i["no-backdrop"])}(n,t.backdrop),function(e,t){t&&(t in i?W(e,i[t]):(d('The "position" parameter is not valid, defaulting to "center"'),W(e,i.center)))}(n,t.position),function(e,t){t&&W(e,i[`grow-${t}`])}(n,t.grow),z(n,t,"container"))};var pe={innerParams:new WeakMap,domCache:new WeakMap,focusedElement:new WeakMap};const he=["input","file","range","select","radio","checkbox","textarea"],we=e=>{if(!e.input)return;if(!xe[e.input])return void u(`Unexpected type of input! Expected ${Object.keys(xe).join(" | ")}, got "${e.input}"`);const t=ve(e.input);if(!t)return;const n=xe[e.input](t,e);X(t),e.inputAutoFocus&&setTimeout(()=>{j(n)})},fe=(e,t)=>{const n=k();if(!n)return;const o=F(n,e);if(o){(e=>{for(const{name:t}of Array.from(e.attributes))["id","type","value","style"].includes(t)||e.removeAttribute(t)})(o);for(const e in t)o.setAttribute(e,t[e])}},ge=e=>{if(!e.input)return;const t=ve(e.input);t&&z(t,e,"input")},be=(e,t)=>{!e.placeholder&&t.inputPlaceholder&&(e.placeholder=t.inputPlaceholder)},ye=(e,t,n)=>{if(n.inputLabel){const o=document.createElement("label"),a=i["input-label"];o.setAttribute("for",e.id),o.className=a,"object"==typeof n.customClass&&W(o,n.customClass.inputLabel),o.innerText=n.inputLabel,t.insertAdjacentElement("beforebegin",o)}},ve=e=>{const t=k();if(t)return U(t,i[e]||i.input)},ke=(e,t)=>{["string","number"].includes(typeof t)?e.value=`${t}`:g(t)||d(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof t}"`)},xe={};xe.text=xe.email=xe.password=xe.number=xe.tel=xe.url=xe.search=xe.date=xe["datetime-local"]=xe.time=xe.week=xe.month=(e,t)=>{const n=e;return ke(n,t.inputValue),ye(n,n,t),be(n,t),n.type=t.input,n},xe.file=(e,t)=>{const n=e;return ye(n,n,t),be(n,t),n},xe.range=(e,t)=>{const n=e,o=n.querySelector("input"),a=n.querySelector("output");return o&&(ke(o,t.inputValue),o.type=t.input,ye(o,e,t)),a&&ke(a,t.inputValue),e},xe.select=(e,t)=>{const n=e;if(n.textContent="",t.inputPlaceholder){const e=document.createElement("option");$(e,t.inputPlaceholder),e.value="",e.disabled=!0,e.selected=!0,n.appendChild(e)}return ye(n,n,t),n},xe.radio=e=>(e.textContent="",e),xe.checkbox=(e,t)=>{const n=k();if(!n)throw new Error("Popup not found");const o=F(n,"checkbox");if(!o)throw new Error("Checkbox input not found");o.value="1",o.checked=Boolean(t.inputValue);const a=e.querySelector("span");if(a){const e=t.inputPlaceholder||t.inputLabel;e&&$(a,e)}return o},xe.textarea=(e,t)=>{const n=e;ke(n,t.inputValue),be(n,t),ye(n,n,t);return setTimeout(()=>{if("MutationObserver"in window){const e=k();if(!e)return;const o=parseInt(window.getComputedStyle(e).width);new MutationObserver(()=>{if(!document.body.contains(n))return;const e=n.offsetWidth+(r=n,parseInt(window.getComputedStyle(r).marginLeft)+parseInt(window.getComputedStyle(r).marginRight)),a=k();var r;a&&(e>o?a.style.width=`${e}px`:G(a,"width",t.width))}).observe(n,{attributes:!0,attributeFilter:["style"]})}}),n};const Te=(e,t)=>{const n=E();n&&(J(n),z(n,t,"htmlContainer"),t.html?(se(t.html,n),X(n,"block")):t.text?(n.textContent=t.text,X(n,"block")):Z(n),((e,t)=>{const n=k();if(!n)return;const o=pe.innerParams.get(e),a=!o||t.input!==o.input;he.forEach(e=>{const o=U(n,i[e]);o&&(fe(e,t.inputAttributes),o.className=i[e],a&&Z(o))}),t.input&&(a&&we(t),ge(t))})(e,t))},Ee=(e,t)=>{for(const[n,o]of Object.entries(s))t.icon!==n&&V(e,o);W(e,t.icon&&s[t.icon]),Ce(e,t),Ae(),z(e,t,"icon")},Ae=()=>{const e=k();if(!e)return;const t=window.getComputedStyle(e).getPropertyValue("background-color");e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix").forEach(e=>{e.style.backgroundColor=t})},Se=(e,t)=>{if(!t.icon&&!t.iconHtml)return;let n=e.innerHTML,o="";t.iconHtml?o=_e(t.iconHtml):"success"===t.icon?(o=(e=>`\n ${e.animation?'<div class="swal2-success-circular-line-left"></div>':""}\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div>\n ${e.animation?'<div class="swal2-success-fix"></div>':""}\n ${e.animation?'<div class="swal2-success-circular-line-right"></div>':""}\n`)(t),n=n.replace(/ style=".*?"/g,"")):"error"===t.icon?o='\n <span class="swal2-x-mark">\n <span class="swal2-x-mark-line-left"></span>\n <span class="swal2-x-mark-line-right"></span>\n </span>\n':t.icon&&(o=_e({question:"?",warning:"!",info:"i"}[t.icon])),n.trim()!==o.trim()&&$(e,o)},Ce=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])Q(e,n,"background-color",t.iconColor);Q(e,".swal2-success-ring","border-color",t.iconColor)}},_e=e=>`<div class="${i["icon-content"]}">${e}</div>`;let Le=!1,Oe=0,Ie=0,Me=0,Pe=0;const Ne=e=>{const t=k();if(!t)return;const n=x();if(e.target===t||n&&n.contains(e.target)){Le=!0;const n=Re(e);Oe=n.clientX,Ie=n.clientY,Me=parseInt(t.style.insetInlineStart)||0,Pe=parseInt(t.style.insetBlockStart)||0,W(t,"swal2-dragging")}},De=e=>{const t=k();if(t&&Le){let{clientX:n,clientY:a}=Re(e);const r=n-Oe;t.style.insetInlineStart=`${Me+(o.isRTL?-r:r)}px`,t.style.insetBlockStart=`${Pe+(a-Ie)}px`}},He=()=>{const e=k();Le=!1,V(e,"swal2-dragging")},Re=e=>{const t=e.type.startsWith("touch")?e.touches[0]:e;return{clientX:t.clientX,clientY:t.clientY}},Be=(e,t)=>{const n=b(),o=k();if(n&&o){if(t.toast){G(n,"width",t.width),o.style.width="100%";const e=I();e&&o.insertBefore(e,x())}else G(o,"width",t.width);G(o,"padding",t.padding),t.color&&(o.style.color=t.color),t.background&&(o.style.background=t.background),Z(C()),$e(o,t),t.draggable&&!t.toast?(W(o,i.draggable),(e=>{e.addEventListener("mousedown",Ne),document.body.addEventListener("mousemove",De),e.addEventListener("mouseup",He),e.addEventListener("touchstart",Ne),document.body.addEventListener("touchmove",De),e.addEventListener("touchend",He)})(o)):(V(o,i.draggable),(e=>{e.removeEventListener("mousedown",Ne),document.body.removeEventListener("mousemove",De),e.removeEventListener("mouseup",He),e.removeEventListener("touchstart",Ne),document.body.removeEventListener("touchmove",De),e.removeEventListener("touchend",He)})(o))}},$e=(e,t)=>{const n=t.showClass||{};e.className=`${i.popup} ${ee(e)?n.popup:""}`,t.toast?(W([document.documentElement,document.body],i["toast-shown"]),W(e,i.toast)):W(e,i.modal),z(e,t,"popup"),"string"==typeof t.customClass&&W(e,t.customClass),t.icon&&W(e,i[`icon-${t.icon}`])},qe=e=>{const t=document.createElement("li");return W(t,i["progress-step"]),$(t,e),t},ze=e=>{const t=document.createElement("li");return W(t,i["progress-step-line"]),e.progressStepsDistance&&G(t,"width",e.progressStepsDistance),t},Fe=(e,t)=>{var n;Be(0,t),me(0,t),((e,t)=>{const n=S();if(!n)return;const{progressSteps:o,currentProgressStep:a}=t;o&&0!==o.length&&void 0!==a?(X(n),n.textContent="",a>=o.length&&d("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),o.forEach((e,r)=>{const s=qe(e);if(n.appendChild(s),r===a&&W(s,i["active-progress-step"]),r!==o.length-1){const e=ze(t);n.appendChild(e)}})):Z(n)})(0,t),((e,t)=>{const n=pe.innerParams.get(e),o=x();if(o){if(n&&t.icon===n.icon)return Se(o,t),void Ee(o,t);if(t.icon||t.iconHtml){if(t.icon&&-1===Object.keys(s).indexOf(t.icon))return u(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${t.icon}"`),void Z(o);X(o),Se(o,t),Ee(o,t),W(o,t.showClass&&t.showClass.icon),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",Ae)}else Z(o)}})(e,t),((e,t)=>{const n=A();n&&(t.imageUrl?(X(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt||""),G(n,"width",t.imageWidth),G(n,"height",t.imageHeight),n.className=i.image,z(n,t,"image")):Z(n))})(0,t),((e,t)=>{const n=T();n&&(J(n),K(n,Boolean(t.title||t.titleText),"block"),t.title&&se(t.title,n),t.titleText&&(n.innerText=t.titleText),z(n,t,"title"))})(0,t),((e,t)=>{const n=D();n&&($(n,t.closeButtonHtml||""),z(n,t,"closeButton"),K(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel||""))})(0,t),Te(e,t),de(0,t),((e,t)=>{const n=P();n&&(J(n),K(n,Boolean(t.footer),"block"),t.footer&&se(t.footer,n),z(n,t,"footer"))})(0,t);const a=k();"function"==typeof t.didRender&&a&&t.didRender(a),null===(n=o.eventEmitter)||void 0===n||n.emit("didRender",a)},je=()=>{var e;return null===(e=_())||void 0===e?void 0:e.click()},Ye=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),We=e=>{if(e.keydownTarget&&e.keydownHandlerAdded&&e.keydownHandler){const t=e.keydownHandler;e.keydownTarget.removeEventListener("keydown",t,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1}},Ve=(e,t)=>{var n;const o=H();return o.length?(-2===(e+=t)&&(e=o.length-1),e===o.length?e=0:-1===e&&(e=o.length-1),o[e].focus(),!(navigator.userAgent.includes("Firefox")&&o[e]instanceof HTMLIFrameElement)):(null===(n=k())||void 0===n||n.focus(),!0)},Ue=["ArrowRight","ArrowDown"],Ge=["ArrowLeft","ArrowUp"],Xe=(e,t,n)=>{e&&(t.isComposing||229===t.keyCode||(e.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?Ze(t,e):"Tab"===t.key?Je(t):[...Ue,...Ge].includes(t.key)?Qe(t.key):"Escape"===t.key&&Ke(t,e,n)))},Ze=(e,t)=>{if(!h(t.allowEnterKey))return;const n=k();if(!n||!t.input)return;const o=F(n,t.input);if(e.target&&o&&e.target instanceof HTMLElement&&e.target.outerHTML===o.outerHTML){if(["textarea","file"].includes(t.input))return;je(),e.preventDefault()}},Je=e=>{const t=e.target,n=H().findIndex(e=>e===t);let o=!0;o=e.shiftKey?Ve(n,-1):Ve(n,1),e.stopPropagation(),o&&e.preventDefault()},Qe=e=>{const t=M(),n=_(),o=O(),a=L();if(!(t&&n&&o&&a))return;const r=[n,o,a];if(document.activeElement instanceof HTMLElement&&!r.includes(document.activeElement))return;const i=Ue.includes(e)?"nextElementSibling":"previousElementSibling";let s=document.activeElement;if(s){for(let e=0;e<t.children.length;e++){if(s=s[i],!s)return;if(s instanceof HTMLButtonElement&&ee(s))break}s instanceof HTMLButtonElement&&s.focus()}},Ke=(e,t,n)=>{e.preventDefault(),h(t.allowEscapeKey)&&n(Ye.esc)};var et={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const tt=()=>{Array.from(document.body.children).forEach(e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")||""),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")})},nt="undefined"!=typeof window&&Boolean(window.GestureEvent),ot=nt&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,at=()=>{const e=b();if(!e)return;let t;e.ontouchstart=e=>{t=rt(e)},e.ontouchmove=e=>{t&&(e.preventDefault(),e.stopPropagation())}},rt=e=>{const t=e.target,n=b(),o=E();return!(!n||!o||it(e)||st(e)||t!==n&&(te(n)||!(t instanceof HTMLElement)||((e,t)=>{let n=e;for(;n&&n!==t;){if(te(n))return!0;n=n.parentElement}return!1})(t,o)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||te(o)&&o.contains(t)))},it=e=>Boolean(e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType),st=e=>e.touches&&e.touches.length>1;let lt=null;const ct=e=>{null===lt&&(document.body.scrollHeight>window.innerHeight||"scroll"===e)&&(lt=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${lt+(()=>{const e=document.createElement("div");e.className=i["scrollbar-measure"],document.body.appendChild(e);const t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t})()}px`)};function dt(e,t,n,r){B()?bt(e,r):(a(n).then(()=>bt(e,r)),We(o)),nt?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),R()&&(null!==lt&&(document.body.style.paddingRight=`${lt}px`,lt=null),(()=>{if(q(document.body,i.iosfix)){const e=parseInt(document.body.style.top,10);V(document.body,i.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}})(),tt()),V([document.documentElement,document.body],[i.shown,i["height-auto"],i["no-backdrop"],i["toast-shown"]])}function ut(e){e=wt(e);const t=et.swalPromiseResolve.get(this),n=mt(this);this.isAwaitingPromise?e.isDismissed||(ht(this),t(e)):n&&t(e)}const mt=e=>{const t=k();if(!t)return!1;const n=pe.innerParams.get(e);if(!n||q(t,n.hideClass.popup))return!1;V(t,n.showClass.popup),W(t,n.hideClass.popup);const o=b();return V(o,n.showClass.backdrop),W(o,n.hideClass.backdrop),ft(e,t,n),!0};function pt(e){const t=et.swalPromiseReject.get(this);ht(this),t&&t(e)}const ht=e=>{e.isAwaitingPromise&&(delete e.isAwaitingPromise,pe.innerParams.get(e)||e._destroy())},wt=e=>void 0===e?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),ft=(e,t,n)=>{var a;const r=b(),i=ne(t);"function"==typeof n.willClose&&n.willClose(t),null===(a=o.eventEmitter)||void 0===a||a.emit("willClose",t),i&&r?gt(e,t,r,Boolean(n.returnFocus),n.didClose):r&&dt(e,r,Boolean(n.returnFocus),n.didClose)},gt=(e,t,n,a,r)=>{o.swalCloseEventFinishedCallback=dt.bind(null,e,n,a,r);const i=function(e){var n;e.target===t&&(null===(n=o.swalCloseEventFinishedCallback)||void 0===n||n.call(o),delete o.swalCloseEventFinishedCallback,t.removeEventListener("animationend",i),t.removeEventListener("transitionend",i))};t.addEventListener("animationend",i),t.addEventListener("transitionend",i)},bt=(e,t)=>{setTimeout(()=>{var n;"function"==typeof t&&t.bind(e.params)(),null===(n=o.eventEmitter)||void 0===n||n.emit("didClose"),e._destroy&&e._destroy()})},yt=e=>{let t=k();if(t||new Kn,t=k(),!t)return;const n=I();B()?Z(x()):vt(t,e),X(n),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()},vt=(e,t)=>{const n=M(),o=I();n&&o&&(!t&&ee(_())&&(t=_()),X(n),t&&(Z(t),o.setAttribute("data-button-to-replace",t.className),n.insertBefore(o,t)),W([e,n],i.loading))},kt=e=>e.checked?1:0,xt=e=>e.checked?e.value:null,Tt=e=>e.files&&e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null,Et=(e,t)=>{const n=k();if(!n)return;const o=e=>{"select"===t.input?function(e,t,n){const o=U(e,i.select);if(!o)return;const a=(e,t,o)=>{const a=document.createElement("option");a.value=o,$(a,t),a.selected=Ct(o,n.inputValue),e.appendChild(a)};t.forEach(e=>{const t=e[0],n=e[1];if(Array.isArray(n)){const e=document.createElement("optgroup");e.label=t,e.disabled=!1,o.appendChild(e),n.forEach(t=>a(e,t[1],t[0]))}else a(o,n,t)}),o.focus()}(n,St(e),t):"radio"===t.input&&function(e,t,n){const o=U(e,i.radio);if(!o)return;t.forEach(e=>{const t=e[0],a=e[1],r=document.createElement("input"),s=document.createElement("label");r.type="radio",r.name=i.radio,r.value=t,Ct(t,n.inputValue)&&(r.checked=!0);const l=document.createElement("span");$(l,a),l.className=i.label,s.appendChild(r),s.appendChild(l),o.appendChild(s)});const a=o.querySelectorAll("input");a.length&&a[0].focus()}(n,St(e),t)};w(t.inputOptions)||g(t.inputOptions)?(yt(_()),f(t.inputOptions).then(t=>{e.hideLoading(),o(t)})):"object"==typeof t.inputOptions?o(t.inputOptions):u("Unexpected type of inputOptions! Expected object, Map or Promise, got "+typeof t.inputOptions)},At=(e,t)=>{const n=e.getInput();n&&(Z(n),f(t.inputValue).then(o=>{n.value="number"===t.input?`${parseFloat(o)||0}`:`${o}`,X(n),n.focus(),e.hideLoading()}).catch(t=>{u(`Error in inputValue promise: ${t}`),n.value="",X(n),n.focus(),e.hideLoading()}))};const St=e=>(e instanceof Map?Array.from(e):Object.entries(e)).map(([e,t])=>[e,"object"==typeof t?St(t):t]),Ct=(e,t)=>Boolean(t)&&null!=t&&t.toString()===e.toString(),_t=(e,t)=>{const n=pe.innerParams.get(e);if(!n.input)return void u(`The "input" parameter is needed to be set when using returnInputValueOn${c(t)}`);const o=e.getInput(),a=((e,t)=>{const n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return kt(n);case"radio":return xt(n);case"file":return Tt(n);default:return t.inputAutoTrim?n.value.trim():n.value}})(e,n);n.inputValidator?Lt(e,a,t):o&&!o.checkValidity()?(e.enableButtons(),e.showValidationMessage(n.validationMessage||o.validationMessage)):"deny"===t?Ot(e,a):Pt(e,a)},Lt=(e,t,n)=>{const o=pe.innerParams.get(e);e.disableInput(),Promise.resolve().then(()=>f(o.inputValidator(t,o.validationMessage))).then(o=>{e.enableButtons(),e.enableInput(),o?e.showValidationMessage(o):"deny"===n?Ot(e,t):Pt(e,t)})},Ot=(e,t)=>{const n=pe.innerParams.get(e);n.showLoaderOnDeny&&yt(O()),n.preDeny?(e.isAwaitingPromise=!0,Promise.resolve().then(()=>f(n.preDeny(t,n.validationMessage))).then(n=>{!1===n?(e.hideLoading(),ht(e)):e.close({isDenied:!0,value:void 0===n?t:n})}).catch(t=>Mt(e,t))):e.close({isDenied:!0,value:t})},It=(e,t)=>{e.close({isConfirmed:!0,value:t})},Mt=(e,t)=>{e.rejectPromise(t)},Pt=(e,t)=>{const n=pe.innerParams.get(e);n.showLoaderOnConfirm&&yt(),n.preConfirm?(e.resetValidationMessage(),e.isAwaitingPromise=!0,Promise.resolve().then(()=>f(n.preConfirm(t,n.validationMessage))).then(n=>{ee(C())||!1===n?(e.hideLoading(),ht(e)):It(e,void 0===n?t:n)}).catch(t=>Mt(e,t))):It(e,t)};function Nt(){const e=pe.innerParams.get(this);if(!e)return;const t=pe.domCache.get(this);Z(t.loader),B()?e.icon&&X(x()):Dt(t),V([t.popup,t.actions],i.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),this.enableButtons()}const Dt=e=>{const t=e.loader.getAttribute("data-button-to-replace"),n=t?e.popup.getElementsByClassName(t):[];n.length?X(n[0],"inline-block"):!ee(_())&&!ee(O())&&!ee(L())&&Z(e.actions)};function Ht(){const e=pe.innerParams.get(this),t=pe.domCache.get(this);return t?F(t.popup,e.input):null}function Rt(e,t,n){const o=pe.domCache.get(e);t.forEach(e=>{o[e].disabled=n})}function Bt(e,t){const n=k();n&&e&&("radio"===e.type?n.querySelectorAll(`[name="${i.radio}"]`).forEach(e=>{e.disabled=t}):e.disabled=t)}function $t(){Rt(this,["confirmButton","denyButton","cancelButton"],!1);const e=pe.focusedElement.get(this);e instanceof HTMLElement&&document.activeElement===document.body&&e.focus(),pe.focusedElement.delete(this)}function qt(){pe.focusedElement.set(this,document.activeElement),Rt(this,["confirmButton","denyButton","cancelButton"],!0)}function zt(){Bt(this.getInput(),!1)}function Ft(){Bt(this.getInput(),!0)}function jt(e){const t=pe.domCache.get(this),n=pe.innerParams.get(this);$(t.validationMessage,e),t.validationMessage.className=i["validation-message"],n.customClass&&n.customClass.validationMessage&&W(t.validationMessage,n.customClass.validationMessage),X(t.validationMessage);const o=this.getInput();o&&(o.setAttribute("aria-invalid","true"),o.setAttribute("aria-describedby",i["validation-message"]),j(o),W(o,i.inputerror))}function Yt(){const e=pe.domCache.get(this);e.validationMessage&&Z(e.validationMessage);const t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),V(t,i.inputerror))}const Wt={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,draggable:!1,animation:!0,theme:"light",showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoFocus:!0,inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0,topLayer:!1},Vt=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","draggable","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","theme","willClose"],Ut={allowEnterKey:void 0},Gt=["allowOutsideClick","allowEnterKey","backdrop","draggable","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],Xt=e=>Object.prototype.hasOwnProperty.call(Wt,e),Zt=e=>-1!==Vt.indexOf(e),Jt=e=>Ut[e],Qt=e=>{Xt(e)||d(`Unknown parameter "${e}"`)},Kt=e=>{Gt.includes(e)&&d(`The parameter "${e}" is incompatible with toasts`)},en=e=>{const t=Jt(e);t&&p(e,t)},tn=e=>{!1===e.backdrop&&e.allowOutsideClick&&d('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),e.theme&&!["light","dark","auto","minimal","borderless","bootstrap-4","bootstrap-4-light","bootstrap-4-dark","bootstrap-5","bootstrap-5-light","bootstrap-5-dark","material-ui","material-ui-light","material-ui-dark","embed-iframe","bulma","bulma-light","bulma-dark"].includes(e.theme)&&d(`Invalid theme "${e.theme}"`);for(const t in e)Qt(t),e.toast&&Kt(t),en(t)};function nn(e){const t=b(),n=k(),o=pe.innerParams.get(this);if(!n||q(n,o.hideClass.popup))return void d("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const a=on(e),r=Object.assign({},o,a);tn(r),t&&(t.dataset.swal2Theme=r.theme),Fe(this,r),pe.innerParams.set(this,r),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}const on=e=>{const t={};return Object.keys(e).forEach(n=>{if(Zt(n)){const o=e;t[n]=o[n]}else d(`Invalid parameter to update: ${n}`)}),t};function an(){var e;const t=pe.domCache.get(this),n=pe.innerParams.get(this);n?(t.popup&&o.swalCloseEventFinishedCallback&&(o.swalCloseEventFinishedCallback(),delete o.swalCloseEventFinishedCallback),"function"==typeof n.didDestroy&&n.didDestroy(),null===(e=o.eventEmitter)||void 0===e||e.emit("didDestroy"),rn(this)):sn(this)}const rn=e=>{sn(e),delete e.params,delete o.keydownHandler,delete o.keydownTarget,delete o.currentInstance},sn=e=>{e.isAwaitingPromise?(ln(pe,e),e.isAwaitingPromise=!0):(ln(et,e),ln(pe,e),delete e.isAwaitingPromise,delete e.disableButtons,delete e.enableButtons,delete e.getInput,delete e.disableInput,delete e.enableInput,delete e.hideLoading,delete e.disableLoading,delete e.showValidationMessage,delete e.resetValidationMessage,delete e.close,delete e.closePopup,delete e.closeModal,delete e.closeToast,delete e.rejectPromise,delete e.update,delete e._destroy)},ln=(e,t)=>{for(const n in e)e[n].delete(t)};var cn=Object.freeze({__proto__:null,_destroy:an,close:ut,closeModal:ut,closePopup:ut,closeToast:ut,disableButtons:qt,disableInput:Ft,disableLoading:Nt,enableButtons:$t,enableInput:zt,getInput:Ht,handleAwaitingPromise:ht,hideLoading:Nt,rejectPromise:pt,resetValidationMessage:Yt,showValidationMessage:jt,update:nn});const dn=(e,t,n)=>{t.popup.onclick=()=>{e&&(un(e)||e.timer||e.input)||n(Ye.close)}},un=e=>Boolean(e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton);let mn=!1;const pn=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=()=>{},t.target===e.container&&(mn=!0)}}},hn=e=>{e.container.onmousedown=t=>{t.target===e.container&&t.preventDefault(),e.popup.onmouseup=function(t){e.popup.onmouseup=()=>{},(t.target===e.popup||t.target instanceof HTMLElement&&e.popup.contains(t.target))&&(mn=!0)}}},wn=(e,t,n)=>{t.container.onclick=o=>{mn?mn=!1:o.target===t.container&&h(e.allowOutsideClick)&&n(Ye.backdrop)}},fn=e=>e instanceof Element||(e=>"object"==typeof e&&null!==e&&"jquery"in e)(e);const gn=()=>{if(o.timeout)return(()=>{const e=N();if(!e)return;const t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";const n=t/parseInt(window.getComputedStyle(e).width)*100;e.style.width=`${n}%`})(),o.timeout.stop()},bn=()=>{if(o.timeout){const e=o.timeout.start();return oe(e),e}};let yn=!1;const vn={};const kn=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(const e in vn){const n=t.getAttribute&&t.getAttribute(e);if(n)return void vn[e].fire({template:n})}};o.eventEmitter=new class{constructor(){this.events={}}_getHandlersByEventName(e){return void 0===this.events[e]&&(this.events[e]=[]),this.events[e]}on(e,t){const n=this._getHandlersByEventName(e);n.includes(t)||n.push(t)}once(e,t){const n=(...o)=>{this.removeListener(e,n),t.apply(this,o)};this.on(e,n)}emit(e,...t){this._getHandlersByEventName(e).forEach(e=>{try{e.apply(this,t)}catch(e){console.error(e)}})}removeListener(e,t){const n=this._getHandlersByEventName(e),o=n.indexOf(t);o>-1&&n.splice(o,1)}removeAllListeners(e){void 0!==this.events[e]&&(this.events[e].length=0)}reset(){this.events={}}};var xn=Object.freeze({__proto__:null,argsToParams:e=>{const t={};return"object"!=typeof e[0]||fn(e[0])?["title","html","icon"].forEach((n,o)=>{const a=e[o];"string"==typeof a||fn(a)?t[n]=a:void 0!==a&&u(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof a}`)}):Object.assign(t,e[0]),t},bindClickHandler:function(e="data-swal-template"){vn[e]=this,yn||(document.body.addEventListener("click",kn),yn=!0)},clickCancel:()=>{var e;return null===(e=L())||void 0===e?void 0:e.click()},clickConfirm:je,clickDeny:()=>{var e;return null===(e=O())||void 0===e?void 0:e.click()},enableLoading:yt,fire:function(...e){return new this(...e)},getActions:M,getCancelButton:L,getCloseButton:D,getConfirmButton:_,getContainer:b,getDenyButton:O,getFocusableElements:H,getFooter:P,getHtmlContainer:E,getIcon:x,getIconContent:()=>v(i["icon-content"]),getImage:A,getInputLabel:()=>v(i["input-label"]),getLoader:I,getPopup:k,getProgressSteps:S,getTimerLeft:()=>o.timeout&&o.timeout.getTimerLeft(),getTimerProgressBar:N,getTitle:T,getValidationMessage:C,increaseTimer:e=>{if(o.timeout){const t=o.timeout.increase(e);return oe(t,!0),t}},isDeprecatedParameter:Jt,isLoading:()=>{const e=k();return!!e&&e.hasAttribute("data-loading")},isTimerRunning:()=>Boolean(o.timeout&&o.timeout.isRunning()),isUpdatableParameter:Zt,isValidParameter:Xt,isVisible:()=>ee(k()),mixin:function(e){return class extends(this){_main(t,n){return super._main(t,Object.assign({},e,n))}}},off:(e,t)=>{o.eventEmitter&&(e?t?o.eventEmitter.removeListener(e,t):o.eventEmitter.removeAllListeners(e):o.eventEmitter.reset())},on:(e,t)=>{o.eventEmitter&&o.eventEmitter.on(e,t)},once:(e,t)=>{o.eventEmitter&&o.eventEmitter.once(e,t)},resumeTimer:bn,showLoading:yt,stopTimer:gn,toggleTimer:()=>{const e=o.timeout;return e&&(e.running?gn():bn())}});class Tn{constructor(e,t){this.callback=e,this.remaining=t,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(e){const t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const En=["swal-title","swal-html","swal-footer"],An=e=>{const t={};return Array.from(e.querySelectorAll("swal-param")).forEach(e=>{Nn(e,["name","value"]);const n=e.getAttribute("name"),o=e.getAttribute("value");n&&o&&(t[n]=n in Wt&&"boolean"==typeof Wt[n]?"false"!==o:n in Wt&&"object"==typeof Wt[n]?JSON.parse(o):o)}),t},Sn=e=>{const t={};return Array.from(e.querySelectorAll("swal-function-param")).forEach(e=>{const n=e.getAttribute("name"),o=e.getAttribute("value");n&&o&&(t[n]=new Function(`return ${o}`)())}),t},Cn=e=>{const t={};return Array.from(e.querySelectorAll("swal-button")).forEach(e=>{Nn(e,["type","color","aria-label"]);const n=e.getAttribute("type");if(!n||!["confirm","cancel","deny"].includes(n))return;t[`${n}ButtonText`]=e.innerHTML,t[`show${c(n)}Button`]=!0;const o=e.getAttribute("color");null!==o&&(t[`${n}ButtonColor`]=o);const a=e.getAttribute("aria-label");null!==a&&(t[`${n}ButtonAriaLabel`]=a)}),t},Ln=e=>{const t={},n=e.querySelector("swal-image");if(n){Nn(n,["src","width","height","alt"]);const e=n.getAttribute("src");null!==e&&(t.imageUrl=e||void 0);const o=n.getAttribute("width");null!==o&&(t.imageWidth=o||void 0);const a=n.getAttribute("height");null!==a&&(t.imageHeight=a||void 0);const r=n.getAttribute("alt");null!==r&&(t.imageAlt=r||void 0)}return t},On=e=>{const t={},n=e.querySelector("swal-icon");return n&&(Nn(n,["type","color"]),n.hasAttribute("type")&&(t.icon=n.getAttribute("type")),n.hasAttribute("color")&&(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t},In=e=>{const t={},n=e.querySelector("swal-input");n&&(Nn(n,["type","label","placeholder","value"]),t.input=n.getAttribute("type")||"text",n.hasAttribute("label")&&(t.inputLabel=n.getAttribute("label")),n.hasAttribute("placeholder")&&(t.inputPlaceholder=n.getAttribute("placeholder")),n.hasAttribute("value")&&(t.inputValue=n.getAttribute("value")));const o=Array.from(e.querySelectorAll("swal-input-option"));return o.length&&(t.inputOptions={},o.forEach(e=>{Nn(e,["value"]);const n=e.getAttribute("value");if(!n)return;const o=e.innerHTML;t.inputOptions[n]=o})),t},Mn=(e,t)=>{const n={};for(const o in t){const a=t[o],r=e.querySelector(a);r&&(Nn(r,[]),n[a.replace(/^swal-/,"")]=r.innerHTML.trim())}return n},Pn=e=>{const t=En.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach(e=>{const n=e.tagName.toLowerCase();t.includes(n)||d(`Unrecognized element <${n}>`)})},Nn=(e,t)=>{Array.from(e.attributes).forEach(n=>{-1===t.indexOf(n.name)&&d([`Unrecognized attribute "${n.name}" on <${e.tagName.toLowerCase()}>.`,t.length?`Allowed attributes are: ${t.join(", ")}`:"To set the value, use HTML within the element."])})},Dn=e=>{var t,n;const a=b(),r=k();if(!a||!r)return;"function"==typeof e.willOpen&&e.willOpen(r),null===(t=o.eventEmitter)||void 0===t||t.emit("willOpen",r);const i=window.getComputedStyle(document.body).overflowY;if($n(a,r,e),setTimeout(()=>{Rn(a,r)},10),R()&&(Bn(a,void 0!==e.scrollbarPadding&&e.scrollbarPadding,i),(()=>{const e=b();Array.from(document.body.children).forEach(t=>{t.contains(e)||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")||""),t.setAttribute("aria-hidden","true"))})})()),ot&&!1===e.backdrop&&r.scrollHeight>a.clientHeight&&(a.style.pointerEvents="auto"),B()||o.previousActiveElement||(o.previousActiveElement=document.activeElement),"function"==typeof e.didOpen){const t=e.didOpen;setTimeout(()=>t(r))}null===(n=o.eventEmitter)||void 0===n||n.emit("didOpen",r)},Hn=e=>{const t=k();if(!t||e.target!==t)return;const n=b();n&&(t.removeEventListener("animationend",Hn),t.removeEventListener("transitionend",Hn),n.style.overflowY="auto",V(n,i["no-transition"]))},Rn=(e,t)=>{ne(t)?(e.style.overflowY="hidden",t.addEventListener("animationend",Hn),t.addEventListener("transitionend",Hn)):e.style.overflowY="auto"},Bn=(e,t,n)=>{(()=>{if(nt&&!q(document.body,i.iosfix)){const e=document.body.scrollTop;document.body.style.top=-1*e+"px",W(document.body,i.iosfix),at()}})(),t&&"hidden"!==n&&ct(n),setTimeout(()=>{e.scrollTop=0})},$n=(e,t,n)=>{var o;null!==(o=n.showClass)&&void 0!==o&&o.backdrop&&W(e,n.showClass.backdrop),n.animation?(t.style.setProperty("opacity","0","important"),X(t,"grid"),setTimeout(()=>{var e;null!==(e=n.showClass)&&void 0!==e&&e.popup&&W(t,n.showClass.popup),t.style.removeProperty("opacity")},10)):X(t,"grid"),W([document.documentElement,document.body],i.shown),n.heightAuto&&n.backdrop&&!n.toast&&W([document.documentElement,document.body],i["height-auto"])};var qn=(e,t)=>/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),zn=(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL");function Fn(e){(function(e){e.inputValidator||("email"===e.input&&(e.inputValidator=qn),"url"===e.input&&(e.inputValidator=zn))})(e),e.showLoaderOnConfirm&&!e.preConfirm&&d("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),function(e){(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(d('Target parameter is not valid, defaulting to "body"'),e.target="body")}(e),"string"==typeof e.title&&(e.title=e.title.split("\n").join("<br />")),ie(e)}let jn;var Yn=new WeakMap;class Wn{constructor(...t){if(n(this,Yn,Promise.resolve({isConfirmed:!1,isDenied:!1,isDismissed:!0})),"undefined"==typeof window)return;jn=this;const o=Object.freeze(this.constructor.argsToParams(t));var a,r,i;this.params=o,this.isAwaitingPromise=!1,a=Yn,r=this,i=this._main(jn.params),a.set(e(a,r),i)}_main(e,t={}){if(tn(Object.assign({},t,e)),o.currentInstance){const e=et.swalPromiseResolve.get(o.currentInstance),{isAwaitingPromise:t}=o.currentInstance;o.currentInstance._destroy(),t||e({isDismissed:!0}),R()&&tt()}o.currentInstance=jn;const n=Un(e,t);Fn(n),Object.freeze(n),o.timeout&&(o.timeout.stop(),delete o.timeout),clearTimeout(o.restoreFocusTimeout);const a=Gn(jn);return Fe(jn,n),pe.innerParams.set(jn,n),Vn(jn,a,n)}then(e){return t(Yn,this).then(e)}finally(e){return t(Yn,this).finally(e)}}const Vn=(e,t,n)=>new Promise((a,r)=>{const i=t=>{e.close({isDismissed:!0,dismiss:t,isConfirmed:!1,isDenied:!1})};et.swalPromiseResolve.set(e,a),et.swalPromiseReject.set(e,r),t.confirmButton.onclick=()=>{(e=>{const t=pe.innerParams.get(e);e.disableButtons(),t.input?_t(e,"confirm"):Pt(e,!0)})(e)},t.denyButton.onclick=()=>{(e=>{const t=pe.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?_t(e,"deny"):Ot(e,!1)})(e)},t.cancelButton.onclick=()=>{((e,t)=>{e.disableButtons(),t(Ye.cancel)})(e,i)},t.closeButton.onclick=()=>{i(Ye.close)},((e,t,n)=>{e.toast?dn(e,t,n):(pn(t),hn(t),wn(e,t,n))})(n,t,i),((e,t,n)=>{if(We(e),!t.toast){const o=e=>Xe(t,e,n);e.keydownHandler=o;const a=t.keydownListenerCapture?window:k();if(a){e.keydownTarget=a,e.keydownListenerCapture=t.keydownListenerCapture;const n=o;e.keydownTarget.addEventListener("keydown",n,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0}}})(o,n,i),((e,t)=>{"select"===t.input||"radio"===t.input?Et(e,t):["text","email","number","tel","textarea"].some(e=>e===t.input)&&(w(t.inputValue)||g(t.inputValue))&&(yt(_()),At(e,t))})(e,n),Dn(n),Xn(o,n,i),Zn(t,n),setTimeout(()=>{t.container.scrollTop=0})}),Un=(e,t)=>{const n=(e=>{const t="string"==typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};const n=t.content;return Pn(n),Object.assign(An(n),Sn(n),Cn(n),Ln(n),On(n),In(n),Mn(n,En))})(e),o=Object.assign({},Wt,t,n,e);return o.showClass=Object.assign({},Wt.showClass,o.showClass),o.hideClass=Object.assign({},Wt.hideClass,o.hideClass),!1===o.animation&&(o.showClass={backdrop:"swal2-noanimation"},o.hideClass={}),o},Gn=e=>{const t={popup:k(),container:b(),actions:M(),confirmButton:_(),denyButton:O(),cancelButton:L(),loader:I(),closeButton:D(),validationMessage:C(),progressSteps:S()};return pe.domCache.set(e,t),t},Xn=(e,t,n)=>{const o=N();Z(o),t.timer&&(e.timeout=new Tn(()=>{n("timer"),delete e.timeout},t.timer),t.timerProgressBar&&o&&(X(o),z(o,t,"timerProgressBar"),setTimeout(()=>{e.timeout&&e.timeout.running&&oe(t.timer)})))},Zn=(e,t)=>{if(!t.toast)return h(t.allowEnterKey)?void(Jn(e)||Qn(e,t)||Ve(-1,1)):(p("allowEnterKey","preConfirm: () => false"),void e.popup.focus())},Jn=e=>{const t=Array.from(e.popup.querySelectorAll("[autofocus]"));for(const e of t)if(e instanceof HTMLElement&&ee(e))return e.focus(),!0;return!1},Qn=(e,t)=>t.focusDeny&&ee(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&ee(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!ee(e.confirmButton)||(e.confirmButton.focus(),0));Wn.prototype.disableButtons=qt,Wn.prototype.enableButtons=$t,Wn.prototype.getInput=Ht,Wn.prototype.disableInput=Ft,Wn.prototype.enableInput=zt,Wn.prototype.hideLoading=Nt,Wn.prototype.disableLoading=Nt,Wn.prototype.showValidationMessage=jt,Wn.prototype.resetValidationMessage=Yt,Wn.prototype.close=ut,Wn.prototype.closePopup=ut,Wn.prototype.closeModal=ut,Wn.prototype.closeToast=ut,Wn.prototype.rejectPromise=pt,Wn.prototype.update=nn,Wn.prototype._destroy=an,Object.assign(Wn,xn),Object.keys(cn).forEach(e=>{Wn[e]=function(...t){if(jn&&jn[e])return jn[e](...t)}}),Wn.DismissReason=Ye,Wn.version="11.26.25";const Kn=Wn;return Kn.default=Kn,Kn}(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}(document,':root{--swal2-outline: 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-backdrop-transition: background-color 0.15s;--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-icon-zoom: 1;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-border: 1px solid #d9d9d9;--swal2-input-border-radius: 0.1875em;--swal2-input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-background: transparent;--swal2-input-transition: border-color 0.2s, box-shadow 0.2s;--swal2-input-hover-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-focus-border: 1px solid #b4dbed;--swal2-input-focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-footer-border-color: #eee;--swal2-footer-background: transparent;--swal2-footer-color: inherit;--swal2-timer-progress-bar-background: rgba(0, 0, 0, 0.3);--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc;--swal2-close-button-transition: color 0.2s, box-shadow 0.2s;--swal2-close-button-outline: initial;
1--swal2-close-button-box-shadow: inset 0 0 0 3px transparent;--swal2-close-button-focus-box-shadow: inset var(--swal2-outline);--swal2-close-button-hover-transform: none;--swal2-actions-justify-content: center;--swal2-actions-width: auto;--swal2-actions-margin: 1.25em auto 0;--swal2-actions-padding: 0;--swal2-actions-border-radius: 0;--swal2-actions-background: transparent;--swal2-action-button-transition: background-color 0.2s, box-shadow 0.2s;--swal2-action-button-hover: black 10%;--swal2-action-button-active: black 10%;--swal2-confirm-button-box-shadow: none;--swal2-confirm-button-border-radius: 0.25em;--swal2-confirm-button-background-color: #7066e0;--swal2-confirm-button-color: #fff;--swal2-deny-button-box-shadow: none;--swal2-deny-button-border-radius: 0.25em;--swal2-deny-button-background-color: #dc3741;--swal2-deny-button-color: #fff;--swal2-cancel-button-box-shadow: none;--swal2-cancel-button-border-radius: 0.25em;--swal2-cancel-button-background-color: #6e7881;--swal2-cancel-button-color: #fff;--swal2-toast-show-animation: swal2-toast-show 0.5s;--swal2-toast-hide-animation: swal2-toast-hide 0.1s forwards;--swal2-toast-border: none;--swal2-toast-box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.075), 0 1px 2px hsl(0deg 0% 0% / 0.075), 1px 2px 4px hsl(0deg 0% 0% / 0.075), 1px 3px 8px hsl(0deg 0% 0% / 0.075), 2px 4px 16px hsl(0deg 0% 0% / 0.075)}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:auto}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px var(--swal2-backdrop)}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end
vendor: 12,791 bytes, line 1
1";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:var(--swal2-container-padding);overflow-x:hidden;transition:var(--swal2-backdrop-transition);-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container)[popover]{width:auto;border:0}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:var(--swal2-title-padding);color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;overflow-wrap:break-word;cursor:initial}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:var(--swal2-actions-justify-content);width:var(--swal2-actions-width);margin:var(--swal2-actions-margin);padding:var(--swal2-actions-padding);border-radius:var(--swal2-actions-border-radius);background:var(--swal2-actions-background)}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:var(--swal2-action-button-transition);border:none;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border-radius:var(--swal2-confirm-button-border-radius);background:initial;background-color:var(--swal2-confirm-button-background-color);box-shadow:var(--swal2-confirm-button-box-shadow);color:var(--swal2-confirm-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border-radius:var(--swal2-deny-button-border-radius);background:initial;background-color:var(--swal2-deny-button-background-color);box-shadow:var(--swal2-deny-button-box-shadow);color:var(--swal2-deny-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):active{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border-radius:var(--swal2-cancel-button-border-radius);background:initial;background-color:var(--swal2-cancel-button-background-color);box-shadow:var(--swal2-cancel-button-box-shadow);color:var(--swal2-cancel-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):active{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none;box-shadow:var(--swal2-action-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-styled)[disabled]:not(.swal2-loading){opacity:.4}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);background:var(--swal2-footer-background);color:var(--swal2-footer-color);font-size:1em;text-align:center;cursor:initial}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:var(--swal2-timer-progress-bar-background)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:var(--swal2-close-button-transition);border:none;border-radius:var(--swal2-border-radius);outline:var(--swal2-close-button-outline);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:var(--swal2-close-button-hover-transform);background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:var(--swal2-close-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:var(--swal2-html-container-padding);overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;overflow-wrap:break-word;word-break:break-word;cursor:initial}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:var(--swal2-input-transition);border:var(--swal2-input-border);border-radius:var(--swal2-input-border-radius);background:var(--swal2-input-background);box-shadow:var(--swal2-input-box-shadow);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):hover,div:where(.swal2-container) input:where(.swal2-file):hover,div:where(.swal2-container) textarea:where(.swal2-textarea):hover{box-shadow:var(--swal2-input-hover-box-shadow)}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:var(--swal2-input-focus-border);outline:none;box-shadow:var(--swal2-input-focus-box-shadow)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:var(--swal2-background)}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:var(--swal2-input-background);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:var(--swal2-input-background);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:var(--swal2-background);color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:
1"!
vendor: 11,078 bytes, line 1
1";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;zoom:var(--swal2-icon-zoom);border:.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:#f8bb86;color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:#3fc3ee;color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:#87adbd;color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;border:var(--swal2-toast-border);background:var(--swal2-background);box-shadow:var(--swal2-toast-box-shadow);pointer-events:auto}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-toast.swal2-show{animation:var(--swal2-toast-show-animation)}.swal2-toast.swal2-hide{animation:var(--swal2-toast-hide-animation)}@keyframes swal2-show{0%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}100%{transform:translate3d(0, 0, 0) scale(1);opacity:1}}@keyframes swal2-hide{0%{transform:translate3d(0, 0, 0) scale(1);opacity:1}100%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}
1')},455(e){"use strict";e.exports=window.wp.apiFetch},87(e){"use strict";e.exports=window.wp.element},723(e){"use strict";e.exports=window.wp.i18n}};const t={};function n(o){const a=t[o];if(void 0!==a)return a.exports;const r=t[o]={exports:{}};return e[o].call(r.exports,r,r.exports,n),r.exports}n.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var a=t[o++],r=t[o++];n.o(e,a)?0===r&&o++:0===r?Object.defineProperty(e,a,{enumerable:!0,value:t[o++]}):Object.defineProperty(e,a,{enumerable:!0,get:r})}else for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.hasOwn(e,t),(()=>{"use strict";var e=n(445);const t=async(t,n)=>{t=(0,e.SF)()+"_"+t;const a=await o(n);if(a)return a[0].data;const r=await fetch(`${TopicC2A.endpoint}/list/${n}/${t}`).then(e=>e.json()).catch(e=>{console.error(e)});return r?.response?r.response:(e=>{if(!e.length)return;const t={data:{T_JOLLY:[]},version:2},n={data:{T_JOLLY:[]},version:2},o={T_JOLLY:[]};for(const o of e)o.isFallback?t.data.T_JOLLY=o.data.T_JOLLY:n.data.T_JOLLY=o.data.T_JOLLY;return n.data.T_JOLLY.length||t.data.T_JOLLY.length?n.data.T_JOLLY.length?t.data.T_JOLLY.length?(n.data.T_JOLLY=((e,t)=>{const n=t[t.length-1].end;let o=e;return t.map(t=>{const a=Math.round(e*t.value.peso/n*100)/100;return t.value.peso=a,t.start=o,t.end=t.start+t.value.peso,o=t.end,t})})(t.data.T_JOLLY[t.data.T_JOLLY.length-1].end,n.data.T_JOLLY),o.T_JOLLY=t.data.T_JOLLY.concat(n.data.T_JOLLY),o):n.data:t.data:{}})(r?.responses)},o=async t=>{const n=TopicC2A.endpoint;if(!n)return null;const o=(0,e.Ri)("hubspotutk");if(window.isHubspotListDataSource=!1,o){const e=new URLSearchParams({utk:o,ctaType:t}),a=localStorage.getItem("hs_profile_email");a&&e.append("email",a);try{const t=await fetch(`${n}/user/?${e.toString()}`),o=await t.json();if(o?.response&&o.response[0]?.data.USER.length>0)return window.isHubspotListDataSource=!0,o.response}catch(e){console.error(`Error fetching profiled CTA Hubspot list: ${e}`)}}return null},a=(e,t)=>{if(!t.length)return[];if(e>=t.length)return t.map(e=>e.value);const n=t.slice(),o=[],a=e=>{let t=0;for(const n of e){const e=parseFloat(n.value.peso)||1;n.start=t,n.end=t+e,t=n.end}return t};for(;o.length<e&&n.length>0;){const e=a(n),t=Math.floor(Math.random()*e),r=n.findIndex(e=>t>=e.start&&t<e.end);-1!==r&&(o.push(n[r].value),n.splice(r,1))}return o};var r=n(723);const i=[{key:"WHITEPAPER",name:(0,r.__)("WHITEPAPER","topic-c2a"),icon:"assets/images/book.svg",frase_ingaggio:(0,r.__)("Scarica subito","topic-c2a"),testo_pulsante:(0,r.__)("Scarica il Whitepaper","topic-c2a")},{key:"INFOGRAFICA",name:(0,r.__)("INFOGRAFICA","topic-c2a"),icon:"assets/images/book.svg",frase_ingaggio:(0,r.__)("Scarica subito","topic-c2a"),testo_pulsante:(0,r.__)("Scarica l'Infografica","topic-c2a")},{key:"EVENTO",name:(0,r.__)("EVENTO","topic-c2a"),icon:"assets/images/event.svg",frase_ingaggio:"",testo_pulsante:(0,r.__)("Iscriviti all'Evento","topic-c2a")},{key:"WEBINAR",name:(0,r.__)("WEBINAR","topic-c2a"),icon:"assets/images/video.svg",frase_ingaggio:"",testo_pulsante:(0,r.__)("Iscriviti al Webinar","topic-c2a")},{key:"WEBCAST",name:(0,r.__)("WEBCAST","topic-c2a"),icon:"assets/images/video.svg",frase_ingaggio:(0,r.__)("Non sei riuscito a seguire il Webinar?","topic-c2a"),testo_pulsante:(0,r.__)("Guarda il Webcast","topic-c2a")},{key:"NEWSLETTER",name:(0,r.__)("NEWSLETTER","topic-c2a"),icon:"assets/images/email.svg",frase_ingaggio:(0,r.__)("Rimani aggiornato!","topic-c2a"),testo_pulsante:(0,r.__)("Iscriviti alla Newsletter","topic-c2a")},{key:"ALTRO",name:(0,r.__)("ALTRO","topic-c2a"),icon:"assets/images/star.svg",frase_ingaggio:"",testo_pulsante:(0,r.__)("SCARICA ORA","topic-c2a")},{key:"AUTOPROMO",name:(0,r.__)("AUTOPROMO","topic-c2a"),icon:"assets/images/star.svg",frase_ingaggio:"",testo_pulsante:(0,r.__)("SCARICA ORA","topic-c2a")},{key:"LG BOOST",name:(0,r.__)("LG BOOST","topic-c2a"),icon:"assets/images/star.svg",frase_ingaggio:"",testo_pulsante:(0,r.__)("SCARICA ORA","topic-c2a")},{key:"SURVEY",name:(0,r.__)("SURVEY","topic-c2a"),icon:"assets/images/poll.svg",frase_ingaggio:"",testo_pulsante:(0,r.__)("INVIA","topic-c2a")}],s='<svg xmlns="http://www.w3.org/2000/svg" width="22" height="17" viewBox="0 0 22 17"><path d="M13,12h7v1.5H13m0-4h7V11H13m0,3.5h7V16H13M21,4H3A2,2,0,0,0,1,6V19a2,2,0,0,0,2,2H21a2,2,0,0,0,2-2V6a2,2,0,0,0-2-2m0,15H12V6h9" transform="translate(-1 -4)"/></svg>',l='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
1<path d="M21,3H3A1.993,1.993,0,0,0,1,5V17a2,2,0,0,0,2,2H8v2h8V19h5a2,2,0,0,0,1.99-2L23,5A2,2,0,0,0,21,3Zm0,14H3V5H21Zm-5-6L9,15V7Z"/></svg>',c='<svg xmlns="http://www.w3.org/2000/svg" width="22.288" height="21.197" viewBox="0 0 22.288 21.197"><g transform="translate(0 -1.84)"><path d="M14.588,8.818,11.144,1.84,7.7,8.818,0,9.937l5.572,5.431L4.256,23.037l6.888-3.621,6.888,3.621-1.316-7.669,5.572-5.431Z"/></g></svg>';class d extends HTMLElement{constructor(){super(),this.iconMap={WHITEPAPER:s,INFOGRAFICA:s,EVENTO:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17,12H12v5h5ZM16,1V3H8V1H6V3H5A1.991,1.991,0,0,0,3.01,5L3,19a2,2,0,0,0,2,2H19a2.006,2.006,0,0,0,2-2V5a2.006,2.006,0,0,0-2-2H18V1Zm3,18H5V8H19Z"/></svg>',WEBINAR:l,WEBCAST:l,NEWSLETTER:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22,6a2.006,2.006,0,0,0-2-2H4A2.006,2.006,0,0,0,2,6V18a2.006,2.006,0,0,0,2,2H20a2.006,2.006,0,0,0,2-2ZM20,6l-8,5L4,6Zm0,12H4V8l8,5,8-5Z"/></svg>',ALTRO:c,AUTOPROMO:c,"LG BOOST":c,SURVEY:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#5f6368"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 10h2v7H7zm4-3h2v10h-2zm4 6h2v4h-2z"/></svg>'};const e=document.getElementById("cta-template").content;this.attachShadow({mode:"open"}).appendChild(e.cloneNode(!0))}createSlot(e,t,n=null){const o=document.createElement(e);return o.slot=t,o.innerHTML=n,o}createTypeOfService(e,t){const n=`${t}<span>${e}</span>`,o=this.createSlot("div","typeofservice",n);return o.classList.add("cta-tipo-servizio","cstm-is-flex","cstm-center-align"),o}createImage(e){const t=this.createSlot("div","image",null);return t.classList.add("responsive-bg"),t.style.backgroundImage=`url("${e}")`,t}createCtaBtn(e,t){const n=this.createSlot("a","cta-button",e);return n.classList.add("cta-btn"),n.target="_blank",n.href=t,n}createCountdown(e){const t=this.createSlot("div","countdown");t.classList.add("topic-c2a__countdown"),t.dataset.timestamp=e;const n=this.getAttribute("engagement_phrase");return n&&(t.dataset.engagementPhrase=n),t}createEventInfo(e,t){const n=this.createSlot("div","event-info");n.classList.add("event-info-container"); 2/* translators: preposizione prima dell'orario (es. "alle 12:30") */ 3const o=(0,r.__)("alle","topic-c2a");let a="";if(t){const n=new Date(t),r=n.toLocaleDateString("it-IT",{day:"numeric",month:"short",year:"numeric"}),i=n.toLocaleTimeString("it-IT",{hour:"2-digit",minute:"2-digit"});a=e?`${e} - ${r} ${o} ${i}`:`${r} ${o} ${i}`}return n.innerHTML=a,n}createUniqId(){return Date.now().toString(36)+Math.random().toString(36).substring(2)}createTopics(e=[]){const t=this.createSlot("div","topics");t.classList.add("cta-topics-wrapper");const n=(e.length?e.split(",").slice(0,2):[]).map(e=>{const t=e.split("#").pop(),n=document.createElement("div");return n.classList.add("cta-topic","cstm-left","cstm-is-flex","cstm-valign-wrapper","cstm-center-align"),n.innerHTML=`\n <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><defs><style>.a{fill:#0097b5;}</style></defs><path class="a" d="M3,5A2,2,0,0,1,5,3H19a2,2,0,0,1,2,2V19a2,2,0,0,1-2,2H5a2,2,0,0,1-2-2V5M7,18H9l.35-2h4L13,18h2l.35-2h2l.36-2h-2l.7-4h2l.35-2h-2l.36-2h-2l-.36,2h-4l.36-2h-2L8.76,8h-2l-.35,2h2l-.7,4h-2l-.36,2h2L7,18m3.41-8h4l-.7,4h-4Z" transform="translate(-3 -3)"/></svg>
3\n <span>${t}</span>\n `,n});return t.append(...n),t}createHbFormSlot(e){const t=this.createUniqId(),n=`hb_form_target_${t}`,o=`<div className="hbspt-form" id="${n}"></div>`,a=this.createSlot("div","hb_form",o);return a.classList.add("hb-form-wrapper"),a.dataset.enabled=!1,a.dataset.portalid=hs_config||!1,a.dataset.formid=e.formId,a.dataset.target=`#${n}`,a.dataset.forminstanceid=t,a.dataset.sfdcampaignid=e.sfdcCampaignId||!1,a}createHiddenFormSlot(e,t,n){const o=this.querySelector(".hb-form-wrapper"),a=e.testo_pulsante,r=this.createCtaBtn(a,""),i=["EVENTO","WEBINAR"].includes(e.key)?this.createCountdownOrEngagement():this.createEngagementPhrase();this.shadowRoot.querySelector(".cta-footer").classList.remove("cstm-hide"),o.classList.add("cstm-hide"),i&&(n.appendChild(i),this.appendChild(i)),n.appendChild(r),this.appendChild(r)}createEngagementPhrase(){const e=this.getAttribute("engagement_phrase");return e?this.createSlot("span","frase-ingaggio",e):null}createCountdownOrEngagement(){const e=this.getAttribute("event_date");if(!e)return this.createEngagementPhrase();const t=new Date(e).getTime(),n=(new Date).getTime();return t&&!isNaN(t)&&t>n?this.createCountdown(t):this.createEngagementPhrase()}manageCtaType(e,t){const n=this.getAttribute("title_custom_type");return t?n??"WHITEPAPER":n??e}connectedCallback(){const e=document.createDocumentFragment(),t=i.find(e=>e.key===this.getAttribute("type"));if(!t)return void console.error(`Nessun ctaType trovato: ${this.getAttribute("type")}`);const n=t.key,o=t.name,a=this.iconMap[n],r=t.testo_pulsante,s=this.getAttribute("testo_pulsante"),l=this.getAttribute("form_type"),c=["ALTRO","AUTOPROMO","LG BOOST"].includes(n),d=this.manageCtaType(o,c),u=this.createTypeOfService(d,a);if(e.appendChild(u),["EVENTO","WEBINAR"].includes(n)){const t="EVENTO"===n?this.getAttribute("event_location"):null,o=this.getAttribute("event_date");if(o){const n=this.createEventInfo(t,o);e.appendChild(n)}}const m=this.createSlot("p","title",this.getAttribute("title"));if(e.appendChild(m),this.getAttribute("show_topics")){const t=this.createTopics(this.attributes.topic_names.value);e.appendChild(t)}if(this.getAttribute("image")){const t=this.createImage(this.getAttribute("image"));e.appendChild(t)}if("form_hubspot"!==l){const t=["EVENTO","WEBINAR"].includes(n)?this.createCountdownOrEngagement():this.createEngagementPhrase();t&&e.appendChild(t);const o=this.createCtaBtn(s||r,this.getAttribute("external_link"));e.appendChild(o),this.shadowRoot.querySelector(".cta-footer.cstm-hide").classList.remove("cstm-hide")}if("form_hubspot"===l){const t={formId:this.attributes.hb_form_id.value,sfdcCampaignId:this.attributes.sf_campaign_id.value},n=this.createHbFormSlot(t);e.appendChild(n)}this.appendChild(e),"false"===this.getAttribute("expanded_form")&&"form_hubspot"===l&&this.createHiddenFormSlot(t,c,e),document.dispatchEvent(new Event("topicc2a-start-timers")),"form_hubspot"===l&&document.dispatchEvent(new CustomEvent("topicc2a-trigger-hb-creation",{detail:{cta:this}}))}}const u=d;var m=n(482);const p={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function h(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const w={date:h({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:h({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:h({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},f={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function g(e){return(t,n)=>{let o;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,a=n?.width?String(n.width):t;o=e.formattingValues[a]||e.formattingValues[t]}else{const t=e.defaultWidth,a=n?.width?String(n.width):e.defaultWidth;o=e.values[a]||e.values[t]}return o[e.argumentCallback?e.argumentCallback(t):t]}}function b(e){return(t,n={})=>{const o=n.width,a=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],r=t.match(a);if(!r)return null;const i=r[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(s,e=>e.test(i)):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(s,e=>e.test(i));let c;return c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c,{value:c,rest:t.slice(i.length)}}}var y;const v={code:"en-US",formatDistance:(e,t,n)=>{let o;const a=p[e];
vendor: 5,876 bytes, line 3
3return o="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o},formatLong:w,formatRelative:(e,t,n,o)=>f[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:g({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:g({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:g({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:g({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:g({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(y={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const n=e.match(y.matchPattern);if(!n)return null;const o=n[0],a=e.match(y.parsePattern);if(!a)return null;let r=y.valueCallback?y.valueCallback(a[0]):a[0];return r=t.valueCallback?t.valueCallback(r):r,{value:r,rest:e.slice(o.length)}}),era:b({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:b({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:b({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:b({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:b({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},k=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},x=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},T={p:x,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],o=n[1],a=n[2];if(!a)return k(e,t);let r;switch(o){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",k(o,t)).replace("{{time}}",x(a,t))}},E=/^D+$/,A=/^Y+$/,S=["D","DD","YY","YYYY"];function C(e){return E.test(e)}function _(e){return A.test(e)}function L(e,t,n){const o=function(e,t,n){const o="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(o),S.includes(e))throw new RangeError(o)}Math.pow(10,8);const O=6048e5,I=Symbol.for("constructDateFrom");function M(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&I in e?e[I](t):e instanceof Date?new e.constructor(t):new Date(t)}let P={};function N(){return P}function D(e,t){return M(t||e,e)}class H{subPriority=0;validate(e,t){return!0}}class R extends H{constructor(e,t,n,o,a){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=o,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}
3set(e,t,n){return this.setValue(e,t,this.value,n)}}class B extends H{priority=10;subPriority=-1;constructor(e,t){super(),this.context=e||(e=>M(t,e))}set(e,t){return t.timestampIsSet?e:M(e,function(e,t){const n=function(e){return"function"==typeof e&&e.prototype?.constructor===e}(t)?new t(0):M(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}(e,this.context))}}class ${run(e,t,n,o){const a=this.parse(e,t,n,o);return a?{setter:new R(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,n){return!0}}const q=/^(1[0-2]|0?\d)/,z=/^(3[0-1]|[0-2]?\d)/,F=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,j=/^(5[0-3]|[0-4]?\d)/,Y=/^(2[0-3]|[0-1]?\d)/,W=/^(2[0-4]|[0-1]?\d)/,V=/^(1[0-1]|0?\d)/,U=/^(1[0-2]|0?\d)/,G=/^[0-5]?\d/,X=/^[0-5]?\d/,Z=/^\d/,J=/^\d{1,2}/,Q=/^\d{1,3}/,K=/^\d{1,4}/,ee=/^-?\d+/,te=/^-?\d/,ne=/^-?\d{1,2}/,oe=/^-?\d{1,3}/,ae=/^-?\d{1,4}/,re=/^([+-])(\d{2})(\d{2})?|Z/,ie=/^([+-])(\d{2})(\d{2})|Z/,se=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,le=/^([+-])(\d{2}):(\d{2})|Z/,ce=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function de(e,t){return e?{value:t(e.value),rest:e.rest}:e}function ue(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function me(e,t){const n=t.match(e);return n?"Z"===n[0]?{value:0,rest:t.slice(1)}:{value:("+"===n[1]?1:-1)*(36e5*(n[2]?parseInt(n[2],10):0)+6e4*(n[3]?parseInt(n[3],10):0)+1e3*(n[5]?parseInt(n[5],10):0)),rest:t.slice(n[0].length)}:null}function pe(e){return ue(ee,e)}function he(e,t){switch(e){case 1:return ue(Z,t);case 2:return ue(J,t);case 3:return ue(Q,t);case 4:return ue(K,t);default:return ue(new RegExp("^\\d{1,"+e+"}"),t)}}function we(e,t){switch(e){case 1:return ue(te,t);case 2:return ue(ne,t);case 3:return ue(oe,t);case 4:return ue(ae,t);default:return ue(new RegExp("^-?\\d{1,"+e+"}"),t)}}function fe(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function ge(e,t){const n=t>0,o=n?t:1-t;let a;if(o<=50)a=e||100;else{const t=o+50;a=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return n?a:1-a}function be(e){return e%400==0||e%4==0&&e%100!=0}function ye(e,t){const n=N(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=D(e,t?.in),r=a.getDay(),i=(r<o?7:0)+r-o;return a.setDate(a.getDate()-i),a.setHours(0,0,0,0),a}function ve(e,t){const n=D(e,t?.in),o=n.getFullYear(),a=N(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,i=M(t?.in||e,0);i.setFullYear(o+1,0,r),i.setHours(0,0,0,0);const s=ye(i,t),l=M(t?.in||e,0);l.setFullYear(o,0,r),l.setHours(0,0,0,0);const c=ye(l,t);return+n>=+s?o+1:+n>=+c?o:o-1}function ke(e,t){return ye(e,{...t,weekStartsOn:1})}function xe(e,t){const n=D(e,t?.in),o=+ye(n,t)-+function(e,t){const n=N(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,a=ve(e,t),r=M(t?.in||e,0);return r.setFullYear(a,0,o),r.setHours(0,0,0,0),ye(r,t)}(n,t);return Math.round(o/O)+1}function Te(e,t){const n=function(e,t){const n=D(e,t?.in),o=n.getFullYear(),a=M(n,0);a.setFullYear(o+1,0,4),a.setHours(0,0,0,0);const r=ke(a),i=M(n,0);i.setFullYear(o,0,4),i.setHours(0,0,0,0);const s=ke(i);return n.getTime()>=r.getTime()?o+1:n.getTime()>=s.getTime()?o:o-1}(e,t),o=M(t?.in||e,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),ke(o)}function Ee(e,t,n){const o=D(e,n?.in),a=function(e,t){const n=D(e,t?.in),o=+ke(n)-+Te(n);return Math.round(o/O)+1}(o,n)-t;return o.setDate(o.getDate()-7*a),o}const Ae=[31,28,31,30,31,30,31,31,30,31,30,31],Se=[31,29,31,30,31,30,31,31,30,31,30,31];function Ce(e,t,n){const o=D(e,n?.in);return isNaN(t)?M(n?.in||e,NaN):t?(o.setDate(o.getDate()+t),o):o}function _e(e,t,n){const o=N(),a=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,r=D(e,n?.in),i=r.getDay(),s=7-a;return Ce(r,t<0||t>6?t-(i+s)%7:((t%7+7)%7+s)%7-(i+s)%7,n)}function Le(e,t,n){const o=D(e,n?.in);return Ce(o,t-function(e,t){const n=D(e,t?.in).getDay();return 0===n?7:n}(o,n),n)}function Oe(e){const t=D(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}const Ie={G:new class extends ${priority=140;parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]},y:new class extends ${priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,n){const o=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return de(he(4,e),o);case"yo":return de(n.ordinalNumber(e,{unit:"year"}),o);default:return de(he(t.length,e),o)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){const o=e.getFullYear();if(n.isTwoDigitYear){const t=ge(n.year,o);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const a="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}},Y:new class extends ${priority=130;parse(e,t,n){const o=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return de(he(4,e),o);case"Yo":return de(n.ordinalNumber(e,{unit:"year"}),o);default:return de(he(t.length,e),o)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,o){const a=ve(e,o);if(n.isTwoDigitYear){const t=ge(n.year,a);return e.setFullYear(t,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),ye(e,o)}const r="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(r,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),ye(e,o)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends ${priority=130;parse(e,t){return we("R"===t?4:t.length,e)}set(e,t,n){const o=M(e,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),ke(o)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends ${priority=130;parse(e,t){return we("u"===t?4:t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends ${priority=120;parse(e,t,n){switch(t){case"Q":case"QQ":return he(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends ${priority=120;parse(e,t,n){switch(t){case"q":case"qq":return he(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends ${incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,n){const o=e=>e-1;switch(t){case"M":return de(ue(q,e),o);case"MM":return de(he(2,e),o);case"Mo":return de(n.ordinalNumber(e,{unit:"month"}),o);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},L:new class extends ${priority=110;parse(e,t,n){const o=e=>e-1;switch(t){case"L":return de(ue(q,e),o);case"LL":return de(he(2,e),o);case"Lo":return de(n.ordinalNumber(e,{unit:"month"}),o);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends ${priority=100;parse(e,t,n){switch(t){case"w":return ue(j,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return he(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,o){return ye(function(e,t,n){const o=D(e,n?.in),a=xe(o,n)-t;return o.setDate(o.getDate()-7*a),D(o,n?.in)}(e,n,o),o)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends ${priority=100;parse(e,t,n){switch(t){case"I":return ue(j,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return he(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return ke(Ee(e,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends ${priority=90;subPriority=1;parse(e,t,n){switch(t){case"d":return ue(z,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return he(t.length,e)}}validate(e,t){const n=be(e.getFullYear()),o=e.getMonth();return n?t>=1&&t<=Se[o]:t>=1&&t<=Ae[o]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends ${priority=90;subpriority=1;parse(e,t,n){switch(t){case"D":case"DD":return ue(F,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return he(t.length,e)}}validate(e,t){return be(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends ${priority=90;parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=_e(e,n,o)).setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends ${priority=90;parse(e,t,n,o){const a=e=>{const t=7*Math.floor((e-1)/7);return(e+o.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return de(he(t.length,e),a);case"eo":return de(n.ordinalNumber(e,{unit:"day"}),a);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=_e(e,n,o)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends ${priority=90;parse(e,t,n,o){const a=e=>{const t=7*Math.floor((e-1)/7);return(e+o.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return de(he(t.length,e),a);case"co":return de(n.ordinalNumber(e,{unit:"day"}),a);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=_e(e,n,o)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends ${priority=90;parse(e,t,n){const o=e=>0===e?7:e;switch(t){case"i":case"ii":return he(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return de(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),o);case"iiiii":return de(n.day(e,{width:"narrow",context:"formatting"}),o);case"iiiiii":return de(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),o);default:return de(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),o)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=Le(e,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends ${priority=80;parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(fe(n),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends ${priority=80;
3parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(fe(n),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends ${priority=80;parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(fe(n),0,0,0),e}incompatibleTokens=["a","b","t","T"]},h:new class extends ${priority=70;parse(e,t,n){switch(t){case"h":return ue(U,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return he(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const o=e.getHours()>=12;return o&&n<12?e.setHours(n+12,0,0,0):o||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]},H:new class extends ${priority=70;parse(e,t,n){switch(t){case"H":return ue(Y,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return he(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends ${priority=70;parse(e,t,n){switch(t){case"K":return ue(V,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return he(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]},k:new class extends ${priority=70;parse(e,t,n){switch(t){case"k":return ue(W,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return he(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){const o=n<=24?n%24:n;return e.setHours(o,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends ${priority=60;parse(e,t,n){switch(t){case"m":return ue(G,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return he(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}incompatibleTokens=["t","T"]},s:new class extends ${priority=50;parse(e,t,n){switch(t){case"s":return ue(X,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return he(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=["t","T"]},S:new class extends ${priority=30;parse(e,t){return de(he(t.length,e),e=>Math.trunc(e*Math.pow(10,3-t.length)))}set(e,t,n){return e.setMilliseconds(n),e}incompatibleTokens=["t","T"]},X:new class extends ${priority=10;parse(e,t){switch(t){case"X":return me(re,e);case"XX":return me(ie,e);case"XXXX":return me(se,e);case"XXXXX":return me(ce,e);default:return me(le,e)}}set(e,t,n){return t.timestampIsSet?e:M(e,e.getTime()-Oe(e)-n)}incompatibleTokens=["t","T","x"]},x:new class extends ${priority=10;parse(e,t){switch(t){case"x":return me(re,e);case"xx":return me(ie,e);case"xxxx":return me(se,e);case"xxxxx":return me(ce,e);default:return me(le,e)}}set(e,t,n){return t.timestampIsSet?e:M(e,e.getTime()-Oe(e)-n)}incompatibleTokens=["t","T","X"]},t:new class extends ${priority=40;parse(e){return pe(e)}set(e,t,n){return[M(e,1e3*n),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends ${priority=20;parse(e){return pe(e)}set(e,t,n){return[M(e,n),{timestampIsSet:!0}]}incompatibleTokens="*"}},Me=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Pe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ne=/^'([^]*?)'?$/,De=/''/g,He=/\S/,Re=/[a-zA-Z]/;function Be(e,t,n,o){const a=()=>M(o?.in||n,NaN),r=Object.assign({},N()),i=o?.locale??r.locale??v,s=o?.firstWeekContainsDate??o?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,l=o?.weekStartsOn??o?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0;if(!t)return e?a():D(n,o?.in);const c={firstWeekContainsDate:s,weekStartsOn:l,locale:i},d=[new B(o?.in,n)],u=t.match(Pe).map(e=>{const t=e[0];return t in T?(0,T[t])(e,i.formatLong):e}).join("").match(Me),m=[];for(let n of u){!o?.useAdditionalWeekYearTokens&&_(n)&&L(n,t,e),!o?.useAdditionalDayOfYearTokens&&C(n)&&L(n,t,e);const r=n[0],s=Ie[r];if(s){const{incompatibleTokens:t}=s;if(Array.isArray(t)){const e=m.find(e=>t.includes(e.token)||e.token===r);
3if(e)throw new RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${n}\` at the same time`)}else if("*"===s.incompatibleTokens&&m.length>0)throw new RangeError(`The format string mustn't contain \`${n}\` and any other token at the same time`);m.push({token:r,fullToken:n});const o=s.run(e,n,i.match,c);if(!o)return a();d.push(o.setter),e=o.rest}else{if(r.match(Re))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===n?n="'":"'"===r&&(n=$e(n)),0!==e.indexOf(n))return a();e=e.slice(n.length)}}if(e.length>0&&He.test(e))return a();const p=d.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>d.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]);let h=D(n,o?.in);if(isNaN(+h))return a();const w={};for(const e of p){if(!e.validate(h,c))return a();const t=e.set(h,w,c);Array.isArray(t)?(h=t[0],Object.assign(w,t[1])):h=t}return h}function $e(e){return e.match(Ne)[1].replace(De,"'")}var qe=n(597);class ze{constructor(){this.scrollCallbacks=[],this.timeCallbacks=[],this.exitCallbacks=[],this.idleTimeout=null,this.idleThresholds=new Map,this.idleElapsedSeconds=0,this.scrollThresholds=new Map,this.initialWindowHeight=document.documentElement.scrollHeight-window.innerHeight,this.lastScrollTop=window.scrollY||document.documentElement.scrollTop,this.setupScrollListener(),this.setupIdleListener(),this.setupExitListener()}isMobile(){return window.matchMedia("only screen and (max-width: 997px)").matches}onScroll(e,t){this.scrollThresholds.has(e)||this.scrollThresholds.set(e,[]),this.scrollThresholds.get(e).push(t)}afterSeconds(e,t){setTimeout(t,1e3*e),this.timeCallbacks.push({seconds:e,callback:t})}onExit(e){this.exitCallbacks.push(e)}onIdle(e,t){this.idleThresholds.has(e)||this.idleThresholds.set(e,[]),this.idleThresholds.get(e).push(t)}scrollHandler=()=>{const e=window.scrollY/this.initialWindowHeight*100;this.scrollThresholds.forEach((t,n)=>{e>=n&&(t.forEach(t=>t(e)),this.scrollThresholds.delete(n),window.removeEventListener("scroll",this.scrollHandler))})};setupScrollListener(){window.addEventListener("scroll",this.scrollHandler)}mobileExitIntent=()=>{let e=!1;e||(window.requestAnimationFrame(()=>{const t=window.scrollY||document.documentElement.scrollTop;this.lastScrollTop-t>10&&(this.exitCallbacks.forEach(e=>e()),this.exitCallbacks=[],window.removeEventListener("scroll",this.mobileExitIntent)),this.lastScrollTop=t,e=!1}),e=!0)};setupExitListener(){this.isMobile()?window.addEventListener("scroll",this.mobileExitIntent):window.addEventListener("mouseout",e=>{e.clientY<=0&&(this.exitCallbacks.forEach(e=>e()),this.exitCallbacks=[])})}setupIdleListener(){document.addEventListener("DOMContentLoaded",()=>{const e=()=>{this.idleElapsedSeconds++,this.idleThresholds.forEach((e,t)=>{this.idleElapsedSeconds>=t&&(e.forEach(e=>e()),this.idleThresholds.delete(t))}),this.idleThresholds.size>0&&(this.idleTimeout=setTimeout(e,1e3))},t=()=>{clearTimeout(this.idleTimeout),this.idleElapsedSeconds=0,this.idleThresholds.size>0&&(this.idleTimeout=setTimeout(e,1e3))};["mousemove","keydown","scroll","touchstart"].forEach(e=>{window.addEventListener(e,t)}),t()})}}var Fe=n(465),je=n.n(Fe),Ye=n(910);function We(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Ve(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,a,r,i,s=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t);else for(;!(l=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return We(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?We(e,t):void 0}}
vendor: 5,804 bytes, line 3
3(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const Ue=Object.entries,Ge=Object.setPrototypeOf,Xe=Object.isFrozen,Ze=Object.getPrototypeOf,Je=Object.getOwnPropertyDescriptor;let Qe=Object.freeze,Ke=Object.seal,et=Object.create,tt="undefined"!=typeof Reflect&&Reflect,nt=tt.apply,ot=tt.construct;Qe||(Qe=function(e){return e}),Ke||(Ke=function(e){return e}),nt||(nt=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];return e.apply(t,o)}),ot||(ot=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return new e(...n)});const at=At(Array.prototype.forEach),rt=At(Array.prototype.lastIndexOf),it=At(Array.prototype.pop),st=At(Array.prototype.push),lt=At(Array.prototype.splice),ct=Array.isArray,dt=At(String.prototype.toLowerCase),ut=At(String.prototype.toString),mt=At(String.prototype.match),pt=At(String.prototype.replace),ht=At(String.prototype.indexOf),wt=At(String.prototype.trim),ft=At(Number.prototype.toString),gt=At(Boolean.prototype.toString),bt="undefined"==typeof BigInt?null:At(BigInt.prototype.toString),yt="undefined"==typeof Symbol?null:At(Symbol.prototype.toString),vt=At(Object.prototype.hasOwnProperty),kt=At(Object.prototype.toString),xt=At(RegExp.prototype.test),Tt=(Et=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ot(Et,t)});var Et;function At(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return nt(e,t,o)}}function St(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:dt;if(Ge&&Ge(e,null),!ct(t))return e;let o=t.length;for(;o--;){let a=t[o];if("string"==typeof a){const e=n(a);e!==a&&(Xe(t)||(t[o]=e),a=e)}e[a]=!0}return e}function Ct(e){for(let t=0;t<e.length;t++)vt(e,t)||(e[t]=null);return e}function _t(e){const t=et(null);for(const o of Ue(e)){var n=Ve(o,2);const a=n[0],r=n[1];vt(e,a)&&(ct(r)?t[a]=Ct(r):r&&"object"==typeof r&&r.constructor===Object?t[a]=_t(r):t[a]=r)}return t}function Lt(e,t){for(;null!==e;){const n=Je(e,t);if(n){if(n.get)return At(n.get);if("function"==typeof n.value)return At(n.value)}e=Ze(e)}return function(){return null}}const Ot=Qe(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),It=Qe(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Mt=Qe(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Pt=Qe(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Nt=Qe(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Dt=Qe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ht=Qe(["#text"]),Rt=Qe(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
3spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Bt=Qe(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),$t=Qe(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),qt=Qe(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),zt=Ke(/{{[\w\W]*|^[\w\W]*}}/g),Ft=Ke(/<%[\w\W]*|^[\w\W]*%>/g),jt=Ke(/\${[\w\W]*/g),Yt=Ke(/^data-[\-\w.\u00B7-\uFFFF]+$/),Wt=Ke(/^aria-[\-\w]+$/),Vt=Ke(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ut=Ke(/^(?:\w+script|data):/i),Gt=Ke(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Xt=Ke(/^html$/i),Zt=Ke(/^[a-z][.\w]*(-[.\w]+)+$/i),Jt=Ke(/<[/\w!]/g),Qt=Ke(/<[/\w]/g),Kt=Ke(/<\/no(script|embed|frames)/i),en=Ke(/\/>/i),tn=function(){return"undefined"==typeof window?null:window},nn=function(e,t,n,o){return vt(e,t)&&ct(e[t])?St(o.base?_t(o.base):{},e[t],o.transform):n};var on=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tn();const n=t=>e(t);if(n.version="3.4.12",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let o=t.document;const a=o,r=a.currentScript;t.DocumentFragment;const i=t.HTMLTemplateElement,s=t.Node,l=t.Element,c=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const d=t.DOMParser,u=t.trustedTypes,m=l.prototype,p=Lt(m,"cloneNode"),h=Lt(m,"remove"),w=Lt(m,"nextSibling"),f=Lt(m,"childNodes"),g=Lt(m,"parentNode"),b=Lt(m,"shadowRoot"),y=Lt(m,"attributes"),v=s&&s.prototype?Lt(s.prototype,"nodeType"):null,k=s&&s.prototype?Lt(s.prototype,"nodeName"):null;if("function"==typeof i){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let x,T,E="",A=!1,S=0;const C=function(){if(S>0)throw Tt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},_=function(e){C(),S++;try{return x.createHTML(e)}finally{S--}},L=o,O=L.implementation,I=L.createNodeIterator,M=L.createDocumentFragment,P=L.getElementsByTagName,N=a.importNode;let D={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof Ue&&"function"==typeof g&&O&&void 0!==O.createHTMLDocument;const H=zt,R=Ft,B=jt,$=Yt,q=Wt,z=Ut,F=Gt,j=Zt;let Y=Vt,W=null;const V=St({},[...Ot,...It,...Mt,...Nt,...Ht]);let U=null;const G=St({},[...Rt,...Bt,...$t,...qt]);
vendor: 5,114 bytes, line 3
3let X=Object.seal(et(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Z=null,J=null;const Q=Object.seal(et(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let K=!0,ee=!0,te=!1,ne=!0,oe=!1,ae=!0,re=!1,ie=!1,se=null,le=null,ce=!1,de=!1,ue=!1,me=!1,pe=!0,he=!1;const we="user-content-";let fe=!0,ge=!1,be={},ye=null;const ve=St({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let ke=null;const xe=St({},["audio","video","img","source","image","track"]);let Te=null;const Ee=St({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ae="http://www.w3.org/1998/Math/MathML",Se="http://www.w3.org/2000/svg",Ce="http://www.w3.org/1999/xhtml";let _e=Ce,Le=!1,Oe=null;const Ie=St({},[Ae,Se,Ce],ut),Me=Qe(["mi","mo","mn","ms","mtext"]);let Pe=St({},Me);const Ne=Qe(["annotation-xml"]);let De=St({},Ne);const He=St({},["title","style","font","a","script"]);let Re=null;const Be=["application/xhtml+xml","text/html"];let $e=null,qe=null;const ze=o.createElement("form"),Fe=function(e){return e instanceof RegExp||e instanceof Function},je=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(qe&&qe===e)return;e&&"object"==typeof e||(e={}),e=_t(e),Re=-1===Be.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,$e="application/xhtml+xml"===Re?ut:dt,W=nn(e,"ALLOWED_TAGS",V,{transform:$e}),U=nn(e,"ALLOWED_ATTR",G,{transform:$e}),Oe=nn(e,"ALLOWED_NAMESPACES",Ie,{transform:ut}),Te=nn(e,"ADD_URI_SAFE_ATTR",Ee,{transform:$e,base:Ee}),ke=nn(e,"ADD_DATA_URI_TAGS",xe,{transform:$e,base:xe}),ye=nn(e,"FORBID_CONTENTS",ve,{transform:$e}),Z=nn(e,"FORBID_TAGS",_t({}),{transform:$e}),J=nn(e,"FORBID_ATTR",_t({}),{transform:$e}),be=!!vt(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?_t(e.USE_PROFILES):e.USE_PROFILES),K=!1!==e.ALLOW_ARIA_ATTR,ee=!1!==e.ALLOW_DATA_ATTR,te=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ne=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,oe=e.SAFE_FOR_TEMPLATES||!1,ae=!1!==e.SAFE_FOR_XML,re=e.WHOLE_DOCUMENT||!1,de=e.RETURN_DOM||!1,ue=e.RETURN_DOM_FRAGMENT||!1,me=e.RETURN_TRUSTED_TYPE||!1,ce=e.FORCE_BODY||!1,pe=!1!==e.SANITIZE_DOM,he=e.SANITIZE_NAMED_PROPS||!1,fe=!1!==e.KEEP_CONTENT,ge=e.IN_PLACE||!1,Y=function(e){try{return xt(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Vt,_e="string"==typeof e.NAMESPACE?e.NAMESPACE:Ce,Pe=vt(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?_t(e.MATHML_TEXT_INTEGRATION_POINTS):St({},Me),De=vt(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?_t(e.HTML_INTEGRATION_POINTS):St({},Ne);const t=vt(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?_t(e.CUSTOM_ELEMENT_HANDLING):et(null);if(X=et(null),vt(t,"tagNameCheck")&&Fe(t.tagNameCheck)&&(X.tagNameCheck=t.tagNameCheck),vt(t,"attributeNameCheck")&&Fe(t.attributeNameCheck)&&(X.attributeNameCheck=t.attributeNameCheck),vt(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(X.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),Ke(X),oe&&(ee=!1),ue&&(de=!0),be&&(W=St({},Ht),U=et(null),!0===be.html&&(St(W,Ot),St(U,Rt)),!0===be.svg&&(St(W,It),St(U,Bt),St(U,qt)),!0===be.svgFilters&&(St(W,Mt),St(U,Bt),St(U,qt)),!0===be.mathMl&&(St(W,Nt),St(U,$t),St(U,qt))),Q.tagCheck=null,Q.attributeCheck=null,vt(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?Q.tagCheck=e.ADD_TAGS:ct(e.ADD_TAGS)&&(W===V&&(W=_t(W)),St(W,e.ADD_TAGS,$e))),vt(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?Q.attributeCheck=e.ADD_ATTR:ct(e.ADD_ATTR)&&(U===G&&(U=_t(U)),St(U,e.ADD_ATTR,$e))),vt(e,"ADD_URI_SAFE_ATTR")&&ct(e.ADD_URI_SAFE_ATTR)&&St(Te,e.ADD_URI_SAFE_ATTR,$e),vt(e,"FORBID_CONTENTS")&&ct(e.FORBID_CONTENTS)&&(ye===ve&&(ye=_t(ye)),St(ye,e.FORBID_CONTENTS,$e)),vt(e,"ADD_FORBID_CONTENTS")&&ct(e.ADD_FORBID_CONTENTS)&&(ye===ve&&(ye=_t(ye)),St(ye,e.ADD_FORBID_CONTENTS,$e)),fe&&(W["#text"]=!0),re&&St(W,["html","head","body"]),W.table&&(St(W,["tbody"]),delete Z.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Tt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Tt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=x;x=e.TRUSTED_TYPES_POLICY;try{E=_("")}catch(e){throw x=t,e}}else null===e.TRUSTED_TYPES_POLICY?(x=void 0,E=""):(void 0===x&&(A||(T=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;
vendor: 4,909 bytes, line 3
3const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const a="dompurify"+(n?"#"+n:"");try{return e.createPolicy(a,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+a+" could not be created."),null}}(u,r),A=!0),x=T),x&&"string"==typeof E&&(E=_("")));Qe&&Qe(e),qe=e},Ye=St({},[...It,...Mt,...Pt]),We=St({},[...Nt,...Dt]),Ve=function(e){st(n.removed,{element:e});try{g(e).removeChild(e)}catch(t){if(h(e),!g(e))throw Tt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Ge=function(e){Je(e);const t=f(e);if(t){const e=[];at(t,t=>{st(e,t)}),at(e,e=>{try{h(e)}catch(e){}})}const n=y(e);if(n)for(let t=n.length-1;t>=0;--t){const o=n[t],a=o&&o.name;if("string"==typeof a)try{e.removeAttribute(a)}catch(e){}}},Xe=function(e,t){try{st(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){st(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(de||ue)try{Ve(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ze=function(e){const t=y(e);if(t)for(let n=t.length-1;n>=0;--n){const o=t[n],a=o&&o.name;if("string"==typeof a&&!U[$e(a)])try{e.removeAttribute(a)}catch(e){}}},Je=function(e){const t=[e];for(;t.length>0;){const e=t.pop();1===(v?v(e):e.nodeType)&&Ze(e);const n=f(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},tt=function(e){let t=null,n=null;if(ce)e="<remove></remove>"+e;else{const t=mt(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Re&&_e===Ce&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const a=x?_(e):e;if(_e===Ce)try{t=(new d).parseFromString(a,Re)}catch(e){}if(!t||!t.documentElement){t=O.createDocument(_e,"template",null);try{t.documentElement.innerHTML=Le?E:a}catch(e){}}const r=t.body||t.documentElement;return e&&n&&r.insertBefore(o.createTextNode(n),r.childNodes[0]||null),_e===Ce?P.call(t,re?"html":"body")[0]:re?t.documentElement:r},nt=function(e){return I.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},ot=function(e){return e=pt(e,H," "),e=pt(e,R," "),pt(e,B," ")},Et=function(e){var t;e.normalize();const n=I.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let o=n.nextNode();for(;o;)o.data=ot(o.data),o=n.nextNode();const a=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");a&&at(a,e=>{Ct(e.content)&&Et(e.content)})},At=function(e){const t=k?k(e):null;return"string"==typeof t&&"form"===$e(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==y(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==v(e)||e.childNodes!==f(e))},Ct=function(e){if(!v||"object"!=typeof e||null===e)return!1;try{return 11===v(e)}catch(e){return!1}},on=function(e){if(!v||"object"!=typeof e||null===e)return!1;try{return"number"==typeof v(e)}catch(e){return!1}};function an(e,t,o){0!==e.length&&at(e,e=>{e.call(n,t,o,qe)})}const rn=function(e,t){if(an(D.beforeSanitizeElements,e,null),e!==t&&null===g(e))return!0;if(At(e))return Ve(e),!0;const o=$e(k?k(e):e.nodeName);if(an(D.uponSanitizeElement,e,{tagName:o,allowedTags:W}),e!==t&&null===g(e))return!0;if(function(e,t){return!!(ae&&e.hasChildNodes()&&!on(e.firstElementChild)&&xt(Jt,e.textContent)&&xt(Jt,e.innerHTML))||!(!ae||e.namespaceURI!==Ce||"style"!==t||!on(e.firstElementChild))||7===e.nodeType||!(!ae||8!==e.nodeType||!xt(Qt,e.data))}(e,o))return Ve(e),!0;if(Z[o]||!(Q.tagCheck instanceof Function&&Q.tagCheck(o))&&!W[o]){const t=function(e,t){if(!Z[t]&&cn(t)){if(X.tagNameCheck instanceof RegExp&&xt(X.tagNameCheck,t))return!1;if(X.tagNameCheck instanceof Function&&X.tagNameCheck(t))return!1}if(fe&&!ye[t]){const t=g(e),n=f(e);if(n&&t)for(let o=n.length-1;o>=0;--o){const a=ge?n[o]:p(n[o],!0);t.insertBefore(a,w(e))}}return Ve(e),!0}(e,o);return!1===t&&an(D.afterSanitizeElements,e,null),t}if(1===(v?v(e):e.nodeType)&&!function(e){let t=g(e);t&&t.tagName||(t={namespaceURI:_e,tagName:"template"});const n=dt(e.tagName),o=dt(t.tagName);return!!Oe[e.namespaceURI]&&(e.namespaceURI===Se?function(e,t,n){return t.namespaceURI===Ce?"svg"===e:t.namespaceURI===Ae?"svg"===e&&("annotation-xml"===n||Pe[n]):Boolean(Ye[e])}(n,t,o):e.namespaceURI===Ae?function(e,t,n){return t.namespaceURI===Ce?"math"===e:t.namespaceURI===Se?"math"===e&&De[n]:Boolean(We[e])}(n,t,o):e.namespaceURI===Ce?function(e,t,n){return!(t.namespaceURI===Se&&!De[n])&&!(t.namespaceURI===Ae&&!Pe[n])&&!We[e]&&(He[e]||!Ye[e])}(n,t,o):!("application/xhtml+xml"!==Re||!Oe[e.namespaceURI]))}(e))return Ve(e),!0;if(("noscript"===o||"noembed"===o||"noframes"===o)&&xt(Kt,e.innerHTML))return Ve(e),!0;
vendor: 5,596 bytes, line 3
3if(oe&&3===e.nodeType){const t=ot(e.textContent);e.textContent!==t&&(st(n.removed,{element:e.cloneNode()}),e.textContent=t)}return an(D.afterSanitizeElements,e,null),!1},sn=function(e,t,n){if(J[t])return!1;if(ae&&"patchsrc"===t)return!1;if(ae&&"for"===t&&"label"!==e&&"output"!==e)return!1;if(pe&&("id"===t||"name"===t)&&(n in o||n in ze))return!1;const a=U[t]||Q.attributeCheck instanceof Function&&Q.attributeCheck(t,e);if(ee&&xt($,t));else if(K&&xt(q,t));else if(a){if(Te[t]);else if(xt(Y,pt(n,F,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==ht(n,"data:")||!ke[e])if(te&&!xt(z,pt(n,F,"")));else if(n)return!1}else if(!(cn(e)&&(X.tagNameCheck instanceof RegExp&&xt(X.tagNameCheck,e)||X.tagNameCheck instanceof Function&&X.tagNameCheck(e))&&(X.attributeNameCheck instanceof RegExp&&xt(X.attributeNameCheck,t)||X.attributeNameCheck instanceof Function&&X.attributeNameCheck(t,e))||"is"===t&&X.allowCustomizedBuiltInElements&&(X.tagNameCheck instanceof RegExp&&xt(X.tagNameCheck,n)||X.tagNameCheck instanceof Function&&X.tagNameCheck(n))))return!1;return!0},ln=St({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),cn=function(e){return!ln[dt(e)]&&xt(j,e)},dn=function(e,t,n,o){if(x&&"object"==typeof u&&"function"==typeof u.getAttributeType&&!n)switch(u.getAttributeType(e,t)){case"TrustedHTML":return _(o);case"TrustedScriptURL":return function(e){C(),S++;try{return x.createScriptURL(e)}finally{S--}}(o)}return o},un=function(e,t,o,a){try{o?e.setAttributeNS(o,t,a):e.setAttribute(t,a),At(e)?Ve(e):it(n.removed)}catch(n){Xe(t,e)}},mn=function(e){an(D.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||At(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:U,forceKeepAttr:void 0};let o=t.length;const a=$e(e.nodeName);for(;o--;){const r=t[o],i=r.name,s=r.namespaceURI,l=r.value,c=$e(i),d=l;let u="value"===i?d:wt(d);n.attrName=c,n.attrValue=u,n.keepAttr=!0,n.forceKeepAttr=void 0,an(D.uponSanitizeAttribute,e,n),u=n.attrValue,!he||"id"!==c&&"name"!==c||0===ht(u,we)||(Xe(i,e),u=we+u),ae&&xt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)||"attributename"===c&&mt(u,"href")?Xe(i,e):n.forceKeepAttr||(!n.keepAttr||!ne&&xt(en,u)?Xe(i,e):(oe&&(u=ot(u)),sn(a,c,u)?(u=dn(a,c,s,u),u!==d&&un(e,i,s,u)):Xe(i,e)))}an(D.afterSanitizeAttributes,e,null)},pn=function(e){let t=null;const n=nt(e);for(an(D.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(an(D.uponSanitizeShadowNode,t,null),rn(t,e),mn(t),Ct(t.content)&&pn(t.content),1===(v?v(t):t.nodeType)){const e=b(t);Ct(e)&&(hn(e),pn(e))}an(D.afterSanitizeShadowDOM,e,null)},hn=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){pn(e.shadow);continue}const n=e.node,o=1===(v?v(n):n.nodeType),a=f(n);if(a)for(let e=a.length-1;e>=0;--e)t.push({node:a[e],shadow:null});if(o){const e=k?k(n):null;if("string"==typeof e&&"template"===$e(e)){const e=n.content;Ct(e)&&t.push({node:e,shadow:null})}}if(o){const e=b(n);Ct(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,r=null,i=null,s=null;if(Le=!e,Le&&(e="\x3c!--\x3e"),"string"!=typeof e&&!on(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return ft(e);case"boolean":return gt(e);case"bigint":return bt?bt(e):"0";case"symbol":return yt?yt(e):"Symbol()";case"undefined":default:return kt(e);case"function":case"object":{if(null===e)return kt(e);const t=e,n=Lt(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:kt(e)}return kt(e)}}}(e)))throw Tt("dirty is not a string, aborting");if(!n.isSupported)return e;ie?(W=se,U=le):je(t),(D.uponSanitizeElement.length>0||D.uponSanitizeAttribute.length>0)&&(W=_t(W)),D.uponSanitizeAttribute.length>0&&(U=_t(U)),n.removed=[];const l=ge&&"string"!=typeof e&&on(e);if(l){!function(e){if(!ae)return;const t=[e];for(;t.length>0;){const e=t.pop(),n=v?v(e):e.nodeType;if(7===n||8===n&&xt(Qt,e.data)){try{h(e)}catch(e){}continue}if(1===n){const t=e,n=$e(k?k(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&"label"!==n&&"output"!==n&&t.removeAttribute("for")}catch(e){}}const o=f(e);if(o)for(let e=o.length-1;e>=0;--e)t.push(o[e])}}(e);const t=k?k(e):e.nodeName;if("string"==typeof t){const n=$e(t);if(!W[n]||Z[n])throw Ge(e),Tt("root node is forbidden and cannot be sanitized in-place")}if(At(e))throw Ge(e),Tt("root node is clobbered and cannot be sanitized in-place");try{hn(e)}catch(t){throw Ge(e),t}}else if(on(e))o=tt("\x3c!----\x3e"),r=o.ownerDocument.importNode(e,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?o=r:o.appendChild(r),hn(r);else{if(!de&&!oe&&!re&&-1===e.indexOf("<"))return x&&me?_(e):e;if(o=tt(e),!o)return de?null:me?E:""}o&&ce&&Ve(o.firstChild);const c=l?e:o,d=nt(c);try{for(;i=d.nextNode();)rn(i,c),mn(i),Ct(i.content)&&pn(i.content)}catch(t){throw l&&(Ge(e),at(n.removed,e=>{e.element&&Je(e.element)})),t}if(l)return at(n.removed,e=>{e.element&&Je(e.element)}),oe&&Et(e),e;if(de){if(oe&&Et(o),ue)for(s=M.call(o.ownerDocument);o.firstChild;)s.appendChild(o.firstChild);else s=o;return(U.shadowroot||U.shadowrootmode)&&(s=N.call(a,s,!0)),s}let u=re?o.outerHTML:o.innerHTML;return re&&W["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&xt(Xt,o.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+o.ownerDocument.doctype.name+">
3\n"+u),oe&&(u=ot(u)),x&&me?_(u):u},n.setConfig=function(){je(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ie=!0,se=W,le=U},n.clearConfig=function(){qe=null,ie=!1,se=null,le=null,x=T,E=""},n.isValidAttribute=function(e,t,n){qe||je({});const o=$e(e),a=$e(t);return sn(o,a,n)},n.addHook=function(e,t){"function"==typeof t&&vt(D,e)&&st(D[e],t)},n.removeHook=function(e,t){if(vt(D,e)){if(void 0!==t){const n=rt(D[e],t);return-1===n?void 0:lt(D[e],n,1)[0]}return it(D[e])}},n.removeHooks=function(e){vt(D,e)&&(D[e]=[])},n.removeAllHooks=function(){D={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const an=(t,n=null)=>{if(!t)return;let o=null===n?document.querySelectorAll(".wp-block-group.body-text")[0]:n;if("undefined"!=typeof cta_preview&&(0,e.iR)()&&(o=document.querySelector("main .container")),!o)return;const a=o.querySelectorAll("h2, h3, h4");let r=null,i=!0;for(const e of a){if(!r&&"P"===e.nextElementSibling.tagName){r=e.nextElementSibling;break}if(!r&&!i&&"P"===e.previousElementSibling.tagName){r=e.previousElementSibling;break}i=!1}r&&t[0]&&r.after(t[0]);const s=o.querySelectorAll("& > p");if(s&&s.length>=20&&t[1]){const e=o.querySelector(".auto-inserted-accordion");if(e)return void e.after(t[1]);s[s.length-1].after(t[1])}},rn=e=>{const t=document.createElement("cta-form");if(Object.keys(e).forEach(n=>{"object"!=typeof e[n]||null===e[n]?t.setAttribute(n.toLowerCase(),e[n]):t.setAttribute(n.toLowerCase(),JSON.stringify(e[n]))}),e.data_inizio){const n=Be(e.data_inizio,"yyyy-MM-dd HH:mm:ss",new Date);t.setAttribute("timestamp",n.getTime())}return t},sn=async(n=0,o,a=!0)=>{const r=await(async(n,o)=>{let a;if(a=topics_associations.list_id,0!==o){const e=document.querySelector(`[data-list-id]#post-${o}`);a=e?e.dataset.listId:"T_JOLLY"}topics_associations&&!a&&topics_associations.topic_ids&&topics_associations.subtopic_ids&&(a=(0,e.$2)()),a||(a="T_JOLLY");const[r,i]=await Promise.all([t(a,"iframe"),n?Promise.resolve(null):t(a,"popup")]);return[r,i]})(a,n);ln(o,r[0]),a||fn(r[1])},ln=(e,t)=>{const n=Object.keys(t);if(!n.length)return;const o=t[n[Math.floor(Math.random()*n.length)]],r=a(TopicC2A.numRequiredCTA,o).map(e=>rn(e));an(r,e)},cn=(e,t,n=null,o=null)=>{const a=document.createElement(e);t&&(a.slot=t),o&&(a.className=o);const r=on.sanitize(n??"","subtitle"===t?{ADD_ATTR:["target","rel"]}:{});return a.innerHTML="subtitle"===t?r.replace(/( |\u00A0)/g," "):r,a},dn=(e,t="",n="")=>{if(e)return cn("div",t,e,n)},un=e=>{if(!e)return!0;const t=document.createElement("div");return t.innerHTML=on.sanitize(e),""===t.textContent.replace(/[ \u00A0]/g,"").trim()},mn=e=>{if(!e)return;const t=cn("img","image",null);return t.classList.add("popup-img"),t.src=`${e}`,t},pn=()=>{const e=document.querySelector("#swal2-html-container"),t=e.querySelector('input[name="idcta"]'),n=e.querySelector('input[name="layoutcta"]'),o=e.attributes.idcta,a=e.attributes.layoutCta,r=e.querySelector('input[name="targetcta"]'),i=e.attributes.hubspotListId,s=e.attributes.idTopic,l=window.isHubspotListDataSource;if(t&&o&&(t.value=o.value),n&&a&&(n.value=a.value),r){if(i&&l)return void(r.value=`hubspot_list_${i.value}`);if(!s)return;r.value="T_JOLLY"===s.value?"jolly":"topic"}},hn=(e,t,n,o,a,r,i,s,l,c)=>{let d,u,p=`${t} ${e}`;switch("form_hubspot"===o&&s&&(p+=" hidden"),"sidebar-c2a"===e&&document.body.classList.contains("logged-in")&&(p+=" logged-in"),e){case"slidein-c2a":d=!1,u="bottom-end";break;case"modal-c2a":d=!0,u="center";break;case"sidebar-c2a":d=!1,u="center-end"}const h={idcta:r,layoutcta:i,hubspotlistid:l,idtopic:c};let w=c;l&&(w=`hubspot_list_${l}`);const f={title:a,idCta:r,layout:i,hbFormId:s,type:"frame_views",ctaType:"popup",targetcta:w},g=document.activeElement;je().fire({showCloseButton:!0,showConfirmButton:!1,closeButtonHtml:"<div>Ã</div>",html:n,backdrop:d,position:u,customClass:{container:p},willOpen:e=>{a&&e.setAttribute("aria-label",a)},didOpen:()=>
3{je().getPopup()?.focus()},didClose:()=>yn(g)}).then((e=>{const t=document.querySelector("#swal2-html-container");Object.keys(e).forEach(n=>{null!=e[n]&&t.setAttribute(n.toLowerCase(),e[n])})})(h)).then((e=>{const t=document.querySelector(".hb-form-wrapper[data-enabled=false]");if(t){const n={portalId:t.dataset.portalid,formId:t.dataset.formid,region:t.dataset.region,target:t.dataset.target,onFormReady:e=>{pn(),(0,Ye.o)(e,"popup")},onFormSubmitted:()=>{(0,m.UZ)({title:e.title,ctaType:e.ctaType,idCta:e.idCta,layout:e.layout,hbFormId:t.dataset.formid,type:"form_submitted",targetcta:e.targetcta})}};"false"!==t.dataset.sfdcampaignid&&(n.sfdcCampaignId=t.dataset.sfdcampaignid),(e=>{let t=0;const n=setInterval(function(){if("undefined"!=typeof hbspt&&null!==hbspt){clearInterval(n),hbspt.forms.create(e);const t=document.querySelector(".swal2-container");if(!t)return;return t.classList.remove("hidden"),void je().getPopup()?.focus()}t++,t>=5&&clearInterval(n)},500)})(n),t.dataset.enabled=!0}})(f)),(0,m.UZ)(f)},wn=e=>{let t,n,o,a;const{title:i,subtitle:s,layout:l,type:c,id:d}=e,u=e?.title_custom_type;n=u??c;const m=e?.image,p=e.hb_form_id,h=e.sf_campaign_id,w=e?.event_location,f=e.form_type,g=e?.external_link,b=e?.testo_pulsante,y=e?.hubspot_list_id,v=e?.idTopic;switch(c){case"EVENTO":case"WEBINAR":t="eventi",a=b||(0,r.__)("ISCRIVITI","topic-c2a");break;case"WEBCAST":t="eventi",a=b||(0,r.__)("GUARDA","topic-c2a");break;case"NEWSLETTER":t="newsletter",a=b||(0,r.__)("ISCRIVITI","topic-c2a");break;case"WHITEPAPER":case"INFOGRAFICA":t="whitepaper",a=b||(0,r.__)("SCARICA","topic-c2a");break;case"ALTRO":case"AUTOPROMO":case"LG BOOST":t="whitepaper",n=u??"WHITEPAPER",a=b||(0,r.__)("SCARICA","topic-c2a");break;case"SURVEY":t="survey",a=b||(0,r.__)("INVIA","topic-c2a")}switch(l){case"Slide in":o="slidein-c2a";break;case"Modale":o="modal-c2a";break;case"Sidebar":o="sidebar-c2a"}const k=document.getElementById(`${o}-${t}`);if(!k)return void console.error(`Template con id ${o}-${t} non trovato.`);const x=k.content.cloneNode(!0),T=(e=>{if(!e)return;const t=new Date(e),n=site?.locale??"it-IT",o=new Intl.DateTimeFormat(n,{dateStyle:"medium"}).format(t),a=new Intl.DateTimeFormat(n,{timeStyle:"short",hour12:!1}).format(t);return`${o} ${(0,r.__)("alle","topic-c2a")} ${a}`})(e?.event_date),E={"type-of-service":dn(n,"type-of-service"),title:dn(i,"title"),subtitle:un(s)?void 0:dn(s,"subtitle"),location:dn(w,"location"),datetime:dn(T,"datetime"),image:mn(m),"form-hubspot":"","link-esterno":""};"form_hubspot"===f&&(E["form-hubspot"]=(e=>{if(!e.formId||!e.sfdcCampaignId)return;const t=Date.now().toString(36)+Math.random().toString(36).substring(2),n=`hb_form_target_${t}`,o=cn("div","hb_form",`<div className="hbspt-form" id="${n}"></div>`);return o.classList.add("hb-form-wrapper"),o.dataset.enabled=!1,o.dataset.portalid=hs_config||!1,o.dataset.formid=e.formId,o.dataset.target=`#${n}`,o.dataset.forminstanceid=t,o.dataset.sfdcampaignid=e.sfdcCampaignId||!1,o})({formId:p,sfdcCampaignId:h})),"link_esterno"===f&&(E["link-esterno"]=((e,t)=>{const n=cn("a","",e);return n.classList.add("external-link-btn"),n.target="_blank",n.href=t,n})(a,g)),Object.entries(E).forEach(([e,t])=>{x.querySelectorAll(`slot[name="${e}"]`).forEach(e=>{if(!e)return;if(!t)return void e.remove();const n="string"==typeof t?t:t.cloneNode(!0);e.replaceWith(n)})});const A=document.createElement("div");A.appendChild(x),A&&hn(o,t,A.innerHTML,f,i,d,l,p,y,v)},fn=e=>{const t=Object.keys(e);if(!t.length)return;const n=e[t[Math.floor(Math.random()*t.length)]];a(1,n).forEach(e=>{const t=new ze,n=JSON.parse(e.show_rules),{on_page_scroll:o,on_exit:a,after_seconds:r}=n,i="form_hubspot"===e.form_type?".popup-content .actions input[type='submit']":".external-link-btn",s=[{name:"on_page_scroll",condition:o,action:()=>t.onScroll(o,()=>wn(e))},{name:"on_exit",condition:a,action:()=>t.onExit(()=>wn(e))},{name:"after_seconds",condition:r,action:()=>t.afterSeconds(r,()=>wn(e))}],l={title:e.title,type:"popupSelected",ctaType:"popup",idCta:e.id,layout:e.layout,ruleSelected:"",ruleValue:""};s.forEach(e=>{e.condition&&(l.ruleSelected=e.name,l.ruleValue=e.condition,e.action(),(0,m.UZ)(l))}),(0,m.VD)(i,"click",m.bI)})},gn=()=>{customElements.define("cta-form",u),(0,m.Ay)(),"undefined"==typeof cta_preview?["frontpage","post_tag","category","brand","personaggi"].includes(topics_associations?.entity)?(async n=>{let o="T_JOLLY";""!==topics_associations?.list_id&&"frontpage"!==n&&(o=topics_associations?.list_id),topics_associations&&"T_JOLLY"===o&&0!==topics_associations.topic_ids.length&&0!==topics_associations.subto
3pic_ids.length&&(o=(0,e.$2)());const a=await t(o,"popup");fn(a)})(topics_associations?.entity):(()=>{if(TopicC2A.postEnabled.includes(parseInt(postID))){const t=!1;sn(0,(()=>{if((0,e.iR)())return document.querySelector("article .content");const t=document.querySelector("main [id^=post]");return t?t.parentNode.querySelector(".body-text"):document.querySelector(".post-content")})(),t)}})():(e=>{if(e){if("iframe"===e.cta_type){const t=rn(e),n=document.querySelector("main");return void an([t],n)}wn(e)}})(cta_preview.data)},bn=()=>{(0,qe.A)()};window.addCtaToPost=sn;const yn=e=>{if(e&&document.contains(e)&&"function"==typeof e.focus)try{if(e.focus(),document.activeElement===e)return}catch(e){console.error(e)}const t=document.getElementById("main-content");t&&(t.setAttribute("tabindex","-1"),t.focus(),t.addEventListener("blur",()=>{t.removeAttribute("tabindex")},{once:!0}))};(async()=>{Array.isArray(TopicC2A?.stylesheets)&&TopicC2A.stylesheets.forEach(e=>{if(document.querySelector(`link[href="${e}"]`))return;const t=document.createElement("link");t.rel="preload",t.as="style",t.href=e,t.onload=()=>{t.rel="stylesheet",t.onload=null},document.head.appendChild(t)})})(),(()=>{if("interactive"===document.readyState||"complete"===document.readyState)return gn(),void bn();document.addEventListener("DOMContentLoaded",gn),window.addEventListener("load",bn)})(),window.addEventListener("message",e=>{if("hsFormCallback"===e.data.type&&"onFormSubmitted"===e.data.eventName){const e=["title","subtitle"],t=document.querySelector(".popup-content");e.forEach(e=>{const n=t.querySelector(`div[slot=${e}]`);n&&(n.innerHTML="")})}})})()})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.