PageSourceSearch

https://escondidooaxaca.com/dist/libs/js/sweetalert2.min.js

js escondidooaxaca.com collected 2026-10-06 17:58:20 UTC 40,960 bytes, 1 lines download raw bytes

1!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Sweetalert2=e()}(this,(function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function o(t,e,o){return e&&n(t.prototype,e),o&&n(t,o),t}function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function s(t,e,n){return(s=c()?Reflect.construct:function(t,e,n){var o=[null];o.push.apply(o,e);var i=new(Function.bind.apply(t,o));return n&&a(i,n.prototype),i}).apply(null,arguments)}function u(t,e,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var o=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=r(t)););return t}(t,e);if(o){var i=Object.getOwnPropertyDescriptor(o,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function l(t){return Object.keys(t).map((function(e){return t[e]}))}function d(t){return Array.prototype.slice.call(t)}function p(t,e){var n;n='"'.concat(t,'" is deprecated and will be removed in the next major release. Please use "').concat(e,'" instead.'),-1===U.indexOf(n)&&(U.push(n),D(n))}function f(t){return t&&Promise.resolve(t)===t}function m(e){return e instanceof Element||"object"===t(n=e)&&n.jquery;var n}function h(t){var e={};for(var n in t)e[t[n]]="swal2-"+t[n];return e}function g(t){var e=K();return e?e.querySelector(t):null}function v(t){return g(".".concat(t))}function b(){return d(Y().querySelectorAll(".".concat(z.icon)))}function y(){var t=b().filter((function(t){return ft(t)}));return t.length?t[0]:null}function w(){return v(z.title)}function C(){return v(z.content)}function k(){return v(z.image)}function x(){return v(z["progress-steps"])}function P(){return v(z["validation-message"])}function A(){return g(".".concat(z.actions," .").concat(z.confirm))}function B(){return g(".".concat(z.actions," .").concat(z.cancel))}function S(){return v(z.actions)}function E(){return v(z.header)}function O(){return v(z.footer)}function T(){return v(z["timer-progress-bar"])}function L(){return v(z.close)}function q(){var t=d(Y().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((function(t,e){return t=parseInt(t.getAttribute("tabindex")),(e=parseInt(e.getAttribute("tabindex")))<t?1:t<e?-1:0})),e=d(Y().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')).filter((function(t){return"-1"!==t.getAttribute("tabindex")}));return function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(t.concat(e)).filter((function(t){return ft(t)}))}function I(){return!Z()&&!document.body.classList.contains(z["no-backdrop"])}function j(){return Y().hasAttribute("data-loading")}function M(t,e){var n;t.textContent="",e&&(d((n=(new DOMParser).parseFromString(e,"text/html")).querySelector("head").childNodes).forEac
1h((function(e){t.appendChild(e)})),d(n.querySelector("body").childNodes).forEach((function(e){t.appendChild(e)})))}function V(t,e){if(e){for(var n=e.split(/\s+/),o=0;o<n.length;o++)if(!t.classList.contains(n[o]))return;return 1}}function R(e,n,o){var i,r;if(r=n,d((i=e).classList).forEach((function(t){-1===l(z).indexOf(t)&&-1===l(W).indexOf(t)&&-1===l(r.showClass).indexOf(t)&&i.classList.remove(t)})),n.customClass&&n.customClass[o]){if("string"!=typeof n.customClass[o]&&!n.customClass[o].forEach)return D("Invalid type of customClass.".concat(o,'! Expected string or iterable object, got "').concat(t(n.customClass[o]),'"'));lt(e,n.customClass[o])}}var H="SweetAlert2:",D=function(t){console.warn("".concat(H," ").concat(t))},N=function(t){console.error("".concat(H," ").concat(t))},U=[],_=function(t){return"function"==typeof t?t():t},F=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),z=h(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","toast-column","show","hide","close","title","header","content","html-container","actions","confirm","cancel","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loading","styled","top","top-start","top-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"]),W=h(["success","warning","info","question","error"]),K=function(){return document.body.querySelector(".".concat(z.container))},Y=function(){return v(z.popup)},Z=function(){return document.body.classList.contains(z["toast-shown"])},Q={previousBodyPadding:null};function $(t,e){if(!e)return null;switch(e){case"select":case"textarea":case"file":return pt(t,z[e]);case"checkbox":return t.querySelector(".".concat(z.checkbox," input"));case"radio":return t.querySelector(".".concat(z.radio," input:checked"))||t.querySelector(".".concat(z.radio," input:first-child"));case"range":return t.querySelector(".".concat(z.range," input"));default:return pt(t,z.input)}}function J(t){var e;t.focus(),"file"!==t.type&&(e=t.value,t.value="",t.value=e)}function X(t,e,n){t&&e&&("string"==typeof e&&(e=e.split(/\s+/).filter(Boolean)),e.forEach((function(e){t.forEach?t.forEach((function(t){n?t.classList.add(e):t.classList.remove(e)})):n?t.classList.add(e):t.classList.remove(e)})))}function G(t,e,n){n||0===parseInt(n)?t.style[e]="number"==typeof n?"".concat(n,"px"):n:t.style.removeProperty(e)}function tt(t,e){var n=1<arguments.length&&void 0!==e?e:"flex";t.style.opacity="",t.style.display=n}function et(t){t.style.opacity="",t.style.display="none"}function nt(t,e,n){e?tt(t,n):et(t)}function ot(t){return!!(t.scrollHeight>t.clientHeight)}function it(t){var e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),o=parseFloat(e.getPropertyValue("transition-duration")||"0");return 0<n||0<o}function rt(t,e){var n=1<arguments.length&&void 0!==e&&e,o=T();ft(o)&&(n&&(o.style.transition="none",o.style.width="100%"),setTimeout((function(){o.style.transition="width ".concat(t/1e3,"s linear"),o.style.width="0%"}),10))}function at(){return"undefined"==typeof window||"undefined"==typeof document}function ct(t){we.isVisible()&&ut!==t.target.value&&we.resetValidationMessage(),ut=t.target.value}function st(e,n){e instanceof HTMLElement?n.appendChild(e):"object"===t(e)?ht(e,n):e&&M(n,e)}var ut,lt=function(t,e){X(t,e,!0)},dt=function(t,e){X(t,e,!1)},pt=function(t,e){for(var n=0;n<t.childNodes.length;n++)if(V(t.childNodes[n],e))return t.childNodes[n]},ft=function(t){return!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))},mt='\n <div aria-labelledby="'.concat(z.title,'" aria-describedby="').concat(z.content,'" class="').concat(z.popup,'" tabindex="-1">\n   <div class="').concat(z.header,'">\n     <ul class="').concat(z["progress-steps"],'"></ul>\n     <div class="').concat(z.icon," ").concat(W.error,'"></div>\n     <div class="').concat(z.icon," ").concat(W.question,'"></div>\n     <div class="').concat(z.icon," ").concat(W.warning,'"></div>\n     <div class="').concat(z.icon," ").concat(W.info,'"></div>\n     <div class="').concat(z.icon," ").concat(W.success,'"></div>\n     <img class="').concat(z.image,'" />\n     <h2 class="').concat(z.title,'" id="').concat(z.title,'"></h2>\n     <button type="button" class="').concat(z.close,'"></button>\n   </div>\n   <div class="').concat(z.content,'">\n     <div id="').concat(z.content,'" class="').concat(z["html-container"],'"></div>\n     <input class="').concat(z.input,'" />\n     <input type="file" class="').concat(z.file,'" />\n     <div class="').concat(z.range,'">\n       <input type="range" />\n       <output></output>\n     </div>\n     <select class="').concat(z.select,'"></select>\n     <div class="').concat(z.radio,'"></div>
1\n     <label for="').concat(z.checkbox,'" class="').concat(z.checkbox,'">\n       <input type="checkbox" />\n       <span class="').concat(z.label,'"></span>\n     </label>\n     <textarea class="').concat(z.textarea,'"></textarea>\n     <div class="').concat(z["validation-message"],'" id="').concat(z["validation-message"],'"></div>\n   </div>\n   <div class="').concat(z.actions,'">\n     <button type="button" class="').concat(z.confirm,'">OK</button>\n     <button type="button" class="').concat(z.cancel,'">Cancel</button>\n   </div>\n   <div class="').concat(z.footer,'"></div>\n   <div class="').concat(z["timer-progress-bar-container"],'">\n     <div class="').concat(z["timer-progress-bar"],'"></div>\n   </div>\n </div>\n').replace(/(^|\n)\s*/g,""),ht=function(t,e){t.jquery?gt(e,t):M(e,t.toString())},gt=function(t,e){if(t.textContent="",0 in e)for(var n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},vt=function(){if(at())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&void 0!==t.style[n])return e[n];return!1}();function bt(t,e,n){var o;nt(t,n["show".concat((o=e).charAt(0).toUpperCase()+o.slice(1),"Button")],"inline-block"),M(t,n["".concat(e,"ButtonText")]),t.setAttribute("aria-label",n["".concat(e,"ButtonAriaLabel")]),t.className=z[e],R(t,n,"".concat(e,"Button")),lt(t,n["".concat(e,"ButtonClass")])}function yt(t,e){t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)}var wt={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},Ct=["input","file","range","select","radio","checkbox","textarea"],kt=function(t){var e=z[t]?z[t]:z.input;return pt(C(),e)},xt={};function Pt(){return K()&&K().getAttribute("data-queue-step")}function At(t,e){var n,o,i,r;n=e,G(o=Y(),"width",n.width),G(o,"padding",n.padding),n.background&&(o.style.background=n.background),qt(o,n),function(t,e){var n,o,i,r,a,c,s,u,l=K();l&&(n=l,"string"==typeof(o=e.backdrop)?n.style.background=o:o||lt([document.documentElement,document.body],z["no-backdrop"]),!e.backdrop&&e.allowOutsideClick&&D('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),i=l,(r=e.position)in z?lt(i,z[r]):(D('The "position" parameter is not valid, defaulting to "center"'),lt(i,z.center)),a=l,!(c=e.grow)||"string"!=typeof c||(s="grow-".concat(c))in z&&lt(a,z[s]),R(l,e,"container"),(u=document.body.getAttribute("data-swal2-queue-step"))&&(l.setAttribute("data-queue-step",u),document.body.removeAttribute("data-swal2-queue-step")))}(0,e),function(t,e){var n,o,i,r,a,c,s,u;R(E(),e,"header"),function(t,e){var n=x();if(!e.progressSteps||0===e.progressSteps.length)return et(n),0;tt(n),n.textContent="";var o=parseInt(void 0===e.currentProgressStep?Pt():e.currentProgressStep);o>=e.progressSteps.length&&D("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),e.progressSteps.forEach((function(t,i){var r,a,c,s,u,l=(r=t,a=document.createElement("li"),lt(a,z["progress-step"]),M(a,r),a);n.appendChild(l),i===o&&lt(l,z["active-progress-step"]),i!==e.progressSteps.length-1&&(s=t,u=document.createElement("li"),lt(u,z["progress-step-line"]),s.progressStepsDistance&&(u.style.width=s.progressStepsDistance),c=u,n.appendChild(c))}))}(0,e),n=t,o=e,(r=wt.innerParams.get(n))&&o.icon===r.icon&&y()?R(y(),o,"icon"):(St(),o.icon&&(-1!==Object.keys(W).indexOf(o.icon)?(tt(i=g(".".concat(z.icon,".").concat(W[o.icon]))),Ot(i,o),Et(),R(i,o,"icon"),lt(i,o.showClass.icon)):N('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(o.icon,'"')))),function(t){var e=k();if(!t.imageUrl)return et(e);tt(e,""),e.setAttribute("src",t.imageUrl),e.setAttribute("alt",t.imageAlt),G(e,"width",t.imageWidth),G(e,"height",t.imageHeight),e.className=z.image,R(e,t,"image")}(e),a=e,nt(c=w(),a.title||a.titleText),a.title&&st(a.title,c),a.titleText&&(c.innerText=a.titleText),R(c,a,"title"),s=e,M(u=L(),s.closeButtonHtml),R(u,s,"closeButton"),nt(u,s.showCloseButton),u.setAttribute("aria-label",s.closeButtonAriaLabel)}(t,e),function(t,e){var n,o,i,r,a,c=C().querySelector("#".concat(z.content));e.html?(st(e.html,c),tt(c,"block")):e.text?(c.textContent=e.text,tt(c,"block")):et(c),n=t,o=e,i=C(),r=wt.innerParams.get(n),a=!r||o.input!==r.input,Ct.forEach((function(t){var e=z[t],n=pt(i,e);(function(t,e){var n=$(C(),t);
1if(n)for(var o in function(t){for(var e=0;e<t.attributes.length;e++){var n=t.attributes[e].name;-1===["type","value","style"].indexOf(n)&&t.removeAttribute(n)}}(n),e)"range"===t&&"placeholder"===o||n.setAttribute(o,e[o])})(t,o.inputAttributes),n.className=e,a&&et(n)})),o.input&&(a&&function(t){if(!xt[t.input])return N('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));var e=kt(t.input),n=xt[t.input](e,t);tt(n),setTimeout((function(){J(n)}))}(o),function(t){var e=kt(t.input);t.customClass&&lt(e,t.customClass.input)}(o)),R(C(),e,"content")}(t,e),function(t,e){var n=S(),o=A(),i=B();e.showConfirmButton||e.showCancelButton||et(n),R(n,e,"actions"),bt(o,"confirm",e),bt(i,"cancel",e),e.buttonsStyling?function(t,e,n){var o;lt([t,e],z.styled),n.confirmButtonColor&&(t.style.backgroundColor=n.confirmButtonColor),n.cancelButtonColor&&(e.style.backgroundColor=n.cancelButtonColor),j()||(o=window.getComputedStyle(t).getPropertyValue("background-color"),t.style.borderLeftColor=o,t.style.borderRightColor=o)}(o,i,e):(dt([o,i],z.styled),o.style.backgroundColor=o.style.borderLeftColor=o.style.borderRightColor="",i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor=""),e.reverseButtons&&o.parentNode.insertBefore(i,o)}(0,e),i=e,nt(r=O(),i.footer),i.footer&&st(i.footer,r),R(r,i,"footer"),"function"==typeof e.onRender&&e.onRender(Y())}function Bt(){return A()&&A().click()}xt.text=xt.email=xt.password=xt.number=xt.tel=xt.url=function(e,n){return"string"==typeof n.inputValue||"number"==typeof n.inputValue?e.value=n.inputValue:f(n.inputValue)||D('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(t(n.inputValue),'"')),yt(e,n),e.type=n.input,e},xt.file=function(t,e){return yt(t,e),t},xt.range=function(t,e){var n=t.querySelector("input"),o=t.querySelector("output");return n.value=e.inputValue,n.type=e.input,o.value=e.inputValue,t},xt.select=function(t,e){var n;return t.textContent="",e.inputPlaceholder&&(M(n=document.createElement("option"),e.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,t.appendChild(n)),t},xt.radio=function(t){return t.textContent="",t},xt.checkbox=function(t,e){var n=$(C(),"checkbox");return n.value=1,n.id=z.checkbox,n.checked=Boolean(e.inputValue),M(t.querySelector("span"),e.inputPlaceholder),t},xt.textarea=function(t,e){var n,o;return t.value=e.inputValue,yt(t,e),"MutationObserver"in window&&(n=parseInt(window.getComputedStyle(Y()).width),o=parseInt(window.getComputedStyle(Y()).paddingLeft)+parseInt(window.getComputedStyle(Y()).paddingRight),new MutationObserver((function(){var e=t.offsetWidth+o;Y().style.width=n<e?"".concat(e,"px"):null})).observe(t,{attributes:!0,attributeFilter:["style"]})),t};var St=function(){for(var t=b(),e=0;e<t.length;e++)et(t[e])},Et=function(){for(var t=Y(),e=window.getComputedStyle(t).getPropertyValue("background-color"),n=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),o=0;o<n.length;o++)n[o].style.backgroundColor=e},Ot=function(t,e){t.textContent="",e.iconHtml?M(t,Tt(e.iconHtml)):"success"===e.icon?M(t,'\n      <div class="swal2-success-circular-line-left"></div>
1\n      <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n      <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n      <div class="swal2-success-circular-line-right"></div>\n    '):"error"===e.icon?M(t,'\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    '):M(t,Tt({question:"?",warning:"!",info:"i"}[e.icon]))},Tt=function(t){return'<div class="'.concat(z["icon-content"],'">').concat(t,"</div>")},Lt=[],qt=function(t,e){t.className="".concat(z.popup," ").concat(ft(t)?e.showClass.popup:""),e.toast?(lt([document.documentElement,document.body],z["toast-shown"]),lt(t,z.toast)):lt(t,z.modal),R(t,e,"popup"),"string"==typeof e.customClass&&lt(t,e.customClass),e.icon&&lt(t,z["icon-".concat(e.icon)])};function It(){var t=Y();t||we.fire(),t=Y();var e=S(),n=A();tt(e),tt(n,"inline-block"),lt([t,e],z.loading),n.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()}function jt(){if(Ht.timeout)return function(){var t=T(),e=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";var n=parseInt(window.getComputedStyle(t).width),o=parseInt(e/n*100);t.style.removeProperty("transition"),t.style.width="".concat(o,"%")}(),Ht.timeout.stop()}function Mt(){if(Ht.timeout){var t=Ht.timeout.start();return rt(t),t}}function Vt(t){return Object.prototype.hasOwnProperty.call(Dt,t)}function Rt(t){return Ut[t]}var Ht={},Dt={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconHtml:void 0,toast:!1,animation:!0,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:void 0,target:"body",backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!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:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,onBeforeOpen:void 0,onOpen:void 0,onRender:void 0,onClose:void 0,onAfterClose:void 0,onDestroy:void 0,scrollbarPadding:!0},Nt=["title","titleText","text","html","footer","icon","hideClass","customClass","allowOutsideClick","allowEscapeKey","showConfirmButton","showCancelButton","confirmButtonText","confirmButtonAriaLabel","confirmButtonColor","cancelButtonText","cancelButtonAriaLabel","cancelButtonColor","buttonsStyling","reverseButtons","imageUrl","imageWidth","imageHeight","imageAlt","progressSteps","currentProgressStep","onClose","onAfterClose","onDestroy"],Ut={animation:'showClass" and "hideClass'},_t=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],Ft=Object.freeze({isValidParameter:Vt,isUpdatableParameter:function(t){return-1!==Nt.indexOf(t)},isDeprecatedParameter:Rt,argsToParams:function(e){var n={};return"object"!==t(e[0])||m(e[0])?["title","html","icon"].forEach((function(o,i){var r=e[i];"string"==typeof r||m(r)?n[o]=r:void 0!==r&&N("Unexpected type of ".concat(o,'! Expected "string" or "Element", got ').concat(t(r)))})):i(n,e[0]),n},isVisible:function(){return ft(Y())},clickConfirm:Bt,clickCancel:function(){return B()&&B().click()},getContainer:K,getPopup:Y,getTitle:w,getContent:C,getHtmlContainer:function(){return v(z["html-container"])},getImage:k,getIcon:y,getIcons:b,getCloseButton:L,getActions:S,getConfirmButton:A,getCancelButton:B,getHeader:E,getFooter:O,getTimerProgressBar:T,getFocusableElements:q,getValidationMessage:P,isLoading:j,fire:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return s(this,e)},mixin:function(t){return function(n){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}
1(p,n);var s,l,d=(s=p,l=c(),function(){var t,e=r(s);return function(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,l?(t=r(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments))});function p(){return e(this,p),d.apply(this,arguments)}return o(p,[{key:"_main",value:function(e){return u(r(p.prototype),"_main",this).call(this,i({},t,e))}}]),p}(this)},queue:function(t){var e=this;function n(t,e){Lt=[],t(e)}Lt=t;var o=[];return new Promise((function(t){!function i(r,a){r<Lt.length?(document.body.setAttribute("data-swal2-queue-step",r),e.fire(Lt[r]).then((function(e){void 0!==e.value?(o.push(e.value),i(r+1,a)):n(t,{dismiss:e.dismiss})}))):n(t,{value:o})}(0)}))},getQueueStep:Pt,insertQueueStep:function(t,e){return e&&e<Lt.length?Lt.splice(e,0,t):Lt.push(t)},deleteQueueStep:function(t){void 0!==Lt[t]&&Lt.splice(t,1)},showLoading:It,enableLoading:It,getTimerLeft:function(){return Ht.timeout&&Ht.timeout.getTimerLeft()},stopTimer:jt,resumeTimer:Mt,toggleTimer:function(){var t=Ht.timeout;return t&&(t.running?jt:Mt)()},increaseTimer:function(t){if(Ht.timeout){var e=Ht.timeout.increase(t);return rt(e,!0),e}},isTimerRunning:function(){return Ht.timeout&&Ht.timeout.isRunning()}});function zt(){var t,e=wt.innerParams.get(this);e&&(t=wt.domCache.get(this),e.showConfirmButton||(et(t.confirmButton),e.showCancelButton||et(t.actions)),dt([t.popup,t.actions],z.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.cancelButton.disabled=!1)}function Wt(){return!!window.MSInputMethodContext&&!!document.documentMode}function Kt(){var t=K(),e=Y();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")}var Yt={swalPromiseResolve:new WeakMap};function Zt(t,e,n,o){var i;n?Jt(t,o):(new Promise((function(t){var e=window.scrollX,n=window.scrollY;Ht.restoreFocusTimeout=setTimeout((function(){Ht.previousActiveElement&&Ht.previousActiveElement.focus?(Ht.previousActiveElement.focus(),Ht.previousActiveElement=null):document.body&&document.body.focus(),t()}),100),void 0!==e&&void 0!==n&&window.scrollTo(e,n)})).then((function(){return Jt(t,o)})),Ht.keydownTarget.removeEventListener("keydown",Ht.keydownHandler,{capture:Ht.keydownListenerCapture}),Ht.keydownHandlerAdded=!1),e.parentNode&&!document.body.getAttribute("data-swal2-queue-step")&&e.parentNode.removeChild(e),I()&&(null!==Q.previousBodyPadding&&(document.body.style.paddingRight="".concat(Q.previousBodyPadding,"px"),Q.previousBodyPadding=null),V(document.body,z.iosfix)&&(i=parseInt(document.body.style.top,10),dt(document.body,z.iosfix),document.body.style.top="",document.body.scrollTop=-1*i),"undefined"!=typeof window&&Wt()&&window.removeEventListener("resize",Kt),d(document.body.children).forEach((function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))),dt([document.documentElement,document.body],[z.shown,z["height-auto"],z["no-backdrop"],z["toast-shown"],z["toast-column"]])}function Qt(t){var e,n,o,i=Y();i&&(e=wt.innerParams.get(this))&&!V(i,e.hideClass.popup)&&(n=Yt.swalPromiseResolve.get(this),dt(i,e.showClass.popup),lt(i,e.hideClass.popup),o=K(),dt(o,e.showClass.backdrop),lt(o,e.hideClass.backdrop),function(t,e,n){var o=K(),i=vt&&it(e),r=n.onClose,a=n.onAfterClose;null!==r&&"function"==typeof r&&r(e),i?$t(t,e,o,a):Zt(t,o,Z(),a)}(this,i,e),void 0!==t?(t.isDismissed=void 0!==t.dismiss,t.isConfirmed=void 0===t.dismiss):t={isDismissed:!0,isConfirmed:!1},n(t||{}))}var $t=function(t,e,n,o){Ht.swalCloseEventFinishedCallback=Zt.bind(null,t,n,Z(),o),e.addEventListener(vt,(function(t){t.target===e&&(Ht.swalCloseEventFinishedCallback(),delete Ht.swalCloseEventFinishedCallback)}))},Jt=function(t,e){setTimeout((function(){"function"==typeof e&&e(),t._destroy()}))};function Xt(t,e,n){var o=wt.domCache.get(t);e.forEach((function(t){o[t].disabled=n}))}function Gt(t,e){if(!t)return!1;if("radio"===t.type)for(var n=t.parentNode.parentNode.querySelectorAll("input"),o=0;o<n.length;o++)n[o].disabled=e;else t.disabled=e}var te=function(){function t(n,o){e(this,t),this.callback=n,this.remaining=o,this.running=!1,this.start()}return o(t,[{key:"start",value:function(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}},{key:"stop",value:function(){return this.running&&(this.running=!1,
1clearTimeout(this.id),this.remaining-=new Date-this.started),this.remaining}},{key:"increase",value:function(t){var e=this.running;return e&&this.stop(),this.remaining+=t,e&&this.start(),this.remaining}},{key:"getTimerLeft",value:function(){return this.running&&(this.stop(),this.start()),this.remaining}},{key:"isRunning",value:function(){return this.running}}]),t}(),ee={email:function(t,e){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid email address")},url:function(t,e){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid URL")}};function ne(t){var e,n=Y();t.target===n&&(e=K(),n.removeEventListener(vt,ne),e.style.overflowY="auto")}function oe(t,e){t.closePopup({value:e})}function ie(t,e,n){var o=q();if(0<o.length)return(e+=n)===o.length?e=0:-1===e&&(e=o.length-1),o[e].focus();Y().focus()}var re,ae=function(t,e){var n;(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints)&&!V(document.body,z.iosfix)&&(n=document.body.scrollTop,document.body.style.top="".concat(-1*n,"px"),lt(document.body,z.iosfix),function(){var t,e=K();e.ontouchstart=function(e){t=function(t){var e=K();return t===e||!(ot(e)||"INPUT"===t.tagName||ot(C())&&C().contains(t))}(e.target)},e.ontouchmove=function(e){t&&(e.preventDefault(),e.stopPropagation())}}()),"undefined"!=typeof window&&Wt()&&(Kt(),window.addEventListener("resize",Kt)),d(document.body.children).forEach((function(t){t===K()||function(t,e){if("function"==typeof t.contains)return t.contains(e)}(t,K())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))})),e&&null===Q.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(Q.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(Q.previousBodyPadding+function(){var t=document.createElement("div");t.className=z["scrollbar-measure"],document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e}(),"px")),setTimeout((function(){t.scrollTop=0}))},ce={select:function(t,e,n){var o=pt(t,z.select);e.forEach((function(t){var e=t[0],i=t[1],r=document.createElement("option");r.value=e,M(r,i),n.inputValue.toString()===e.toString()&&(r.selected=!0),o.appendChild(r)})),o.focus()},radio:function(t,e,n){var o=pt(t,z.radio);e.forEach((function(t){var e=t[0],i=t[1],r=document.createElement("input"),a=document.createElement("label");r.type="radio",r.name=z.radio,r.value=e,n.inputValue.toString()===e.toString()&&(r.checked=!0);var c=document.createElement("span");M(c,i),c.className=z.label,a.appendChild(r),a.appendChild(c),o.appendChild(a)}));var i=o.querySelectorAll("input");i.length&&i[0].focus()}},se=function(t){var e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach((function(t,n){e.push([n,t])})):Object.keys(t).forEach((function(n){e.push([n,t[n]])})),e},ue=function(t,e,n){e.showLoaderOnConfirm&&It(),e.preConfirm?(t.resetValidationMessage(),Promise.resolve().then((function(){return e.preConfirm(n,e.validationMessage)})).then((function(e){ft(P())||!1===e?t.hideLoading():oe(t,void 0===e?n:e)}))):oe(t,n)},le=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"],de=["Escape","Esc"],pe=function(t,e,n){if(!e.isComposing&&e.target&&t.getInput()&&e.target.outerHTML===t.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(n.input))return;Bt(),e.preventDefault()}},fe=function(t){for(var e=t.target,n=q(),o=-1,i=0;i<n.length;i++)if(e===n[i]){o=i;break}t.shiftKey?ie(0,o,-1):ie(0,o,1),t.stopPropagation(),t.preventDefault()},me=function(){var t=A(),e=B();document.activeElement===t&&ft(e)?e.focus():document.activeElement===e&&ft(t)&&t.focus()},he=function(t,e,n){_(e.allowEscapeKey)&&(t.preventDefault(),n(F.esc))},ge=!1,ve=function(t){for(var e in t)t[e]=new WeakMap}
1,be=Object.freeze({hideLoading:zt,disableLoading:zt,getInput:function(t){var e=wt.innerParams.get(t||this),n=wt.domCache.get(t||this);return n?$(n.content,e.input):null},close:Qt,closePopup:Qt,closeModal:Qt,closeToast:Qt,enableButtons:function(){Xt(this,["confirmButton","cancelButton"],!1)},disableButtons:function(){Xt(this,["confirmButton","cancelButton"],!0)},enableInput:function(){return Gt(this.getInput(),!1)},disableInput:function(){return Gt(this.getInput(),!0)},showValidationMessage:function(t){var e=wt.domCache.get(this);M(e.validationMessage,t);var n=window.getComputedStyle(e.popup);e.validationMessage.style.marginLeft="-".concat(n.getPropertyValue("padding-left")),e.validationMessage.style.marginRight="-".concat(n.getPropertyValue("padding-right")),tt(e.validationMessage);var o=this.getInput();o&&(o.setAttribute("aria-invalid",!0),o.setAttribute("aria-describedBy",z["validation-message"]),J(o),lt(o,z.inputerror))},resetValidationMessage:function(){var t=wt.domCache.get(this);t.validationMessage&&et(t.validationMessage);var e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedBy"),dt(e,z.inputerror))},getProgressSteps:function(){return wt.domCache.get(this).progressSteps},_main:function(e){(function(t){for(var e in t)Vt(i=e)||D('Unknown parameter "'.concat(i,'"')),t.toast&&(o=e,-1!==_t.indexOf(o)&&D('The parameter "'.concat(o,'" is incompatible with toasts'))),Rt(n=e)&&p(n,Rt(n));var n,o,i})(e),Ht.currentInstance&&Ht.currentInstance._destroy(),Ht.currentInstance=this;var n=function(t){var e=i({},Dt.showClass,t.showClass),n=i({},Dt.hideClass,t.hideClass),o=i({},Dt,t);return o.showClass=e,o.hideClass=n,!1===t.animation&&(o.showClass={popup:"swal2-noanimation",backdrop:"swal2-noanimation"},o.hideClass={}),o}(e);(function(t){var e,n;(e=t).inputValidator||Object.keys(ee).forEach((function(t){e.input===t&&(e.inputValidator=ee[t])})),t.showLoaderOnConfirm&&!t.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"),t.animation=_(t.animation),(n=t).target&&("string"!=typeof n.target||document.querySelector(n.target))&&("string"==typeof n.target||n.target.appendChild)||(D('Target parameter is not valid, defaulting to "body"'),n.target="body"),"string"==typeof t.title&&(t.title=t.title.split("\n").join("<br />")),function(t){var e,n,o,i,r,a,c,s,u,l,d,p,f,m,h,g=!!(e=K())&&(e.parentNode.removeChild(e),dt([document.documentElement,document.body],[z["no-backdrop"],z["toast-shown"],z["has-column"]]),!0);at()?N("SweetAlert2 requires document to initialize"):((n=document.createElement("div")).className=z.container,g&&lt(n,z["no-transition"]),M(n,mt),(o="string"==typeof(i=t.target)?document.querySelector(i):i).appendChild(n),r=t,(a=Y()).setAttribute("role",r.toast?"alert":"dialog"),a.setAttribute("aria-live",r.toast?"polite":"assertive"),r.toast||a.setAttribute("aria-modal","true"),c=o,"rtl"===window.getComputedStyle(c).direction&&lt(K(),z.rtl),s=C(),u=pt(s,z.input),l=pt(s,z.file),d=s.querySelector(".".concat(z.range," input")),p=s.querySelector(".".concat(z.range," output")),f=pt(s,z.select),m=s.querySelector(".".concat(z.checkbox," input")),h=pt(s,z.textarea),u.oninput=ct,l.onchange=ct,f.onchange=ct,m.onchange=ct,h.oninput=ct,d.oninput=function(t){ct(t),p.value=d.value},d.onchange=function(t){ct(t),d.nextSibling.value=d.value})}(t)})(n),Object.freeze(n),Ht.timeout&&(Ht.timeout.stop(),delete Ht.timeout),clearTimeout(Ht.restoreFocusTimeout);var o=function(t){var e={popup:Y(),container:K(),content:C(),actions:S(),confirmButton:A(),cancelButton:B(),closeButton:L(),validationMessage:P(),progressSteps:x()};return wt.domCache.set(t,e),e}(this);return At(this,n),wt.innerParams.set(this,n),function(e,n,o){return new Promise((function(i){var r=function(t){e.closePopup({dismiss:t})};Yt.swalPromiseResolve.set(e,i),n.confirmButton.onclick=function(){return function(t,e){t.disableButtons(),e.input?function(t,e){var n=function(t,e){var n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return function(t){return t.checked?1:0}(n);case"radio":return function(t){return t.checked?t.value:null}(n);case"file":return function(t){return t.files.length?null!==t.getAttribute("multiple")?t.files:t.files[0]:null}(n);default:return e.inputAutoTrim?n.value.trim():n.value}}(t,e);e.inputValidator?(t.disableInput(),Promise.resolve().then((function(){return e.inputValidator(n,e.validationMessage)})).then((function(o){t.enableButtons(),t.enableInput(),o?t.showValidationMessage(o):ue(t,e,n)}
1))):t.getInput().checkValidity()?ue(t,e,n):(t.enableButtons(),t.showValidationMessage(e.validationMessage))}(t,e):ue(t,e,!0)}(e,o)},n.cancelButton.onclick=function(){return function(t,e){t.disableButtons(),e(F.cancel)}(e,r)},n.closeButton.onclick=function(){return r(F.close)},function(t,e,n){wt.innerParams.get(t).toast?function(t,e,n){e.popup.onclick=function(){var e=wt.innerParams.get(t);e.showConfirmButton||e.showCancelButton||e.showCloseButton||e.input||n(F.close)}}(t,e,n):(function(t){t.popup.onmousedown=function(){t.container.onmouseup=function(e){t.container.onmouseup=void 0,e.target===t.container&&(ge=!0)}}}(e),function(t){t.container.onmousedown=function(){t.popup.onmouseup=function(e){t.popup.onmouseup=void 0,e.target!==t.popup&&!t.popup.contains(e.target)||(ge=!0)}}}(e),function(t,e,n){e.container.onclick=function(o){var i=wt.innerParams.get(t);ge?ge=!1:o.target===e.container&&_(i.allowOutsideClick)&&n(F.backdrop)}}(t,e,n))}(e,n,r),function(t,e,n,o){e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1),n.toast||(e.keydownHandler=function(e){return function(t,e,n){var o=wt.innerParams.get(t);o.stopKeydownPropagation&&e.stopPropagation(),"Enter"===e.key?pe(t,e,o):"Tab"===e.key?fe(e,o):-1!==le.indexOf(e.key)?me():-1!==de.indexOf(e.key)&&he(e,o,n)}(t,e,o)},e.keydownTarget=n.keydownListenerCapture?window:Y(),e.keydownListenerCapture=n.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)}(e,Ht,o,r),o.toast&&(o.input||o.footer||o.showCloseButton)?lt(document.body,z["toast-column"]):dt(document.body,z["toast-column"]),function(e,n){"select"===n.input||"radio"===n.input?function(e,n){function o(t){return ce[n.input](i,se(t),n)}var i=C();f(n.inputOptions)?(It(),n.inputOptions.then((function(t){e.hideLoading(),o(t)}))):"object"===t(n.inputOptions)?o(n.inputOptions):N("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(t(n.inputOptions)))}(e,n):-1!==["text","email","number","tel","textarea"].indexOf(n.input)&&f(n.inputValue)&&function(t,e){var n=t.getInput();et(n),e.inputValue.then((function(o){n.value="number"===e.input?parseFloat(o)||0:"".concat(o),tt(n),n.focus(),t.hideLoading()})).catch((function(e){N("Error in inputValue promise: ".concat(e)),n.value="",tt(n),n.focus(),t.hideLoading()}))}(e,n)}(e,o),function(t){var e=K(),n=Y();"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(n),function(t,e,n){lt(t,n.showClass.backdrop),tt(e),lt(e,n.showClass.popup),lt([document.documentElement,document.body],z.shown),n.heightAuto&&n.backdrop&&!n.toast&&lt([document.documentElement,document.body],z["height-auto"])}(e,n,t),function(t,e){vt&&it(e)?(t.style.overflowY="hidden",e.addEventListener(vt,ne)):t.style.overflowY="auto"}(e,n),I()&&ae(e,t.scrollbarPadding),Z()||Ht.previousActiveElement||(Ht.previousActiveElement=document.activeElement),"function"==typeof t.onOpen&&setTimeout((function(){return t.onOpen(n)})),dt(e,z["no-transition"])}(o),function(t,e,n){var o=T();et(o),e.timer&&(t.timeout=new te((function(){n("timer"),delete t.timeout}),e.timer),e.timerProgressBar&&(tt(o),setTimeout((function(){t.timeout.running&&rt(e.timer)}))))}(Ht,o,r),function(t,e){e.toast||(_(e.allowEnterKey)?e.focusCancel&&ft(t.cancelButton)?t.cancelButton.focus():e.focusConfirm&&ft(t.confirmButton)?t.confirmButton.focus():ie(0,-1,1):document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur())}(n,o),setTimeout((function(){n.container.scrollTop=0}))}))}(this,o,n)},update:function(t){var e=Y(),n=wt.innerParams.get(this);if(!e||V(e,n.hideClass.popup))return 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.");var o={};Object.keys(t).forEach((function(e){we.isUpdatableParameter(e)?o[e]=t[e]:D('Invalid parameter to update: "'.concat(e,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js'))}));var r=i({},n,o);At(this,r),wt.innerParams.set(this,r),Object.defineProperties(this,{params:{value:i({},this.params,t),writable:!1,enumerable:!0}})},_destroy:function(){var t=wt.domCache.get(this),e=wt.innerParams.get(this);
1e&&(t.popup&&Ht.swalCloseEventFinishedCallback&&(Ht.swalCloseEventFinishedCallback(),delete Ht.swalCloseEventFinishedCallback),Ht.deferDisposalTimer&&(clearTimeout(Ht.deferDisposalTimer),delete Ht.deferDisposalTimer),"function"==typeof e.onDestroy&&e.onDestroy(),delete this.params,delete Ht.keydownHandler,delete Ht.keydownTarget,ve(wt),ve(Yt))}}),ye=function(){function t(){if(e(this,t),"undefined"!=typeof window){"undefined"==typeof Promise&&N("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),re=this;for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var r=Object.freeze(this.constructor.argsToParams(o));Object.defineProperties(this,{params:{value:r,writable:!1,enumerable:!0,configurable:!0}});var a=this._main(this.params);wt.promise.set(this,a)}}return o(t,[{key:"then",value:function(t){return wt.promise.get(this).then(t)}},{key:"finally",value:function(t){return wt.promise.get(this).finally(t)}}]),t}();i(ye.prototype,be),i(ye,Ft),Object.keys(be).forEach((function(t){ye[t]=function(){if(re)return re[t].apply(re,arguments)}})),ye.DismissReason=F,ye.version="9.13.2";var we=ye;return we.default=we})),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2);

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.